summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-11 11:11:11 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-11 11:11:11 +0000
commita7a1968ad134ce8565dbe81c8e762de7f4fc2c15 (patch)
tree43a100d5510215f6ad54eb69734fd6b7790d7ee9 /io.c
parent0ae26d6c2a69771dae4db6d503765f1f4377e474 (diff)
* 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
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 3 insertions, 0 deletions
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"));