diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-20 10:16:20 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-20 10:16:20 +0000 |
commit | f58382aaf3de10a78f1c108dfafae2278abe62f2 (patch) | |
tree | dae2bd844120b433abad140e0245bedd9f355044 /io.c | |
parent | 76a3923c99ed79a52ca4d04c694da079625d4180 (diff) | |
download | ruby-f58382aaf3de10a78f1c108dfafae2278abe62f2.tar.gz |
* io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and
File::NOFOLLOW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8220,6 +8220,15 @@ Init_IO(void) #ifdef O_SYNC rb_file_const("SYNC", INT2FIX(O_SYNC)); #endif +#ifdef O_DSYNC + rb_file_const("DSYNC", INT2FIX(O_DSYNC)); +#endif +#ifdef O_RSYNC + rb_file_const("RSYNC", INT2FIX(O_RSYNC)); +#endif +#ifdef O_NOFOLLOW + rb_file_const("NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */ +#endif sym_mode = ID2SYM(rb_intern("mode")); sym_perm = ID2SYM(rb_intern("perm")); |