ruby-changes:11746
From: kazu <ko1@a...>
Date: Mon, 11 May 2009 20:11:27 +0900 (JST)
Subject: [ruby-changes:11746] Ruby:r23392 (trunk): * io.c (Init_IO): add constant File::NOATIME.
kazu 2009-05-11 20:11:11 +0900 (Mon, 11 May 2009) New Revision: 23392 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23392 Log: * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194] Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 23391) +++ ChangeLog (revision 23392) @@ -1,3 +1,7 @@ +Mon May 11 20:08:33 2009 Kazuhiro NISHIYAMA <zn@m...> + + * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194] + Mon May 11 13:08:30 2009 Nobuyoshi Nakada <nobu@r...> * mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426] Index: io.c =================================================================== --- io.c (revision 23391) +++ io.c (revision 23392) @@ -8953,6 +8953,9 @@ #ifdef O_NOFOLLOW rb_file_const("NOFOLLOW", INT2FIX(O_NOFOLLOW)); /* FreeBSD, Linux */ #endif +#ifdef O_NOATIME + rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* 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/