ruby-changes:7204
From: akr <ko1@a...>
Date: Wed, 20 Aug 2008 19:16:38 +0900 (JST)
Subject: [ruby-changes:7204] Ruby:r18723 (trunk): * io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and
akr 2008-08-20 19:16:20 +0900 (Wed, 20 Aug 2008) New Revision: 18723 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18723 Log: * io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and File::NOFOLLOW. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18722) +++ ChangeLog (revision 18723) @@ -1,3 +1,8 @@ +Wed Aug 20 19:15:35 2008 Tanaka Akira <akr@f...> + + * io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and + File::NOFOLLOW. + Wed Aug 20 18:41:11 2008 Tanaka Akira <akr@f...> * io.c (rb_open_file): don't lookup :mode and :perm in opt. it is Index: io.c =================================================================== --- io.c (revision 18722) +++ io.c (revision 18723) @@ -8220,6 +8220,15 @@ #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")); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/