Project

General

Profile

Feature #1291 » 0001-O_CLOEXEC.patch

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

View differences:

io.c
/* do not change atime */
rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
#endif
#ifdef O_CLOEXEC
/* enable the close-on-exec flag */
rb_file_const("CLOEXEC", INT2FIX(O_CLOEXEC)); /* Linux */
#endif
sym_mode = ID2SYM(rb_intern("mode"));
sym_perm = ID2SYM(rb_intern("perm"));
(2-2/2)