0001-O_CLOEXEC.patch

Motohiro KOSAKI, 03/26/2010 11:46 PM

Download (712 Bytes)

View differences:

io.c
10004 10004
    /* do not change atime */
10005 10005
    rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
10006 10006
#endif
10007
#ifdef O_CLOEXEC
10008
    /* enable the close-on-exec flag */
10009
    rb_file_const("CLOEXEC", INT2FIX(O_CLOEXEC)); /* Linux */
10010
#endif
10007 10011

  
10008 10012
    sym_mode = ID2SYM(rb_intern("mode"));
10009 10013
    sym_perm = ID2SYM(rb_intern("perm"));
10010
-