Project

General

Profile

Feature #4015 ยป io.c-o_direct.patch

runpaint (Run Paint Run Run), 11/03/2010 06:50 AM

View differences:

io.c
10206 10206
    /* do not change atime */
10207 10207
    rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
10208 10208
#endif
10209
#ifdef O_DIRECT
10210
    /*  Try to minimize cache effects of the I/O to and from this file. */
10211
    rb_file_const("DIRECT", INT2FIX(O_DIRECT)); /* Linux */
10212
#endif
10209 10213

  
10210 10214
    sym_mode = ID2SYM(rb_intern("mode"));
10211 10215
    sym_perm = ID2SYM(rb_intern("perm"));