Feature #1291 » 0001-O_CLOEXEC.patch
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"));
|
- « Previous
- 1
- 2
- Next »