Feature #1291 » 0001-O_CLOEXEC.patch
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"));
|