From a7a1968ad134ce8565dbe81c8e762de7f4fc2c15 Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 11 May 2009 11:11:11 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ io.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6d2cc5b44a..7fe9edcb8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon May 11 20:08:33 2009 Kazuhiro NISHIYAMA + + * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194] + Mon May 11 13:08:30 2009 Nobuyoshi Nakada * mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426] diff --git a/io.c b/io.c index 72bb5b77c7..92dc006e33 100644 --- a/io.c +++ b/io.c @@ -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"));