Project

General

Profile

Feature #1291 » 0001-O_CLOEXEC.patch

kosaki (Motohiro KOSAKI), 03/26/2010 11:42 PM

View differences:

io.c
/* do not change atime */
rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
#endif
#ifdef O_CLOEXEC
/* do not follow symlinks */
rb_file_const("CLOEXEC", INT2FIX(O_CLOEXEC)); /* Linux */
#endif
sym_mode = ID2SYM(rb_intern("mode"));
sym_perm = ID2SYM(rb_intern("perm"));
(1-1/2)