1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2009-05-11 11:11:11 +00:00
parent 0ae26d6c2a
commit a7a1968ad1
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon May 11 20:08:33 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]
Mon May 11 13:08:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426]

3
io.c
View file

@ -8953,6 +8953,9 @@ Init_IO(void)
#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"));