Added O_DSYNC semantics to the RAW file open() call for *nix platforms. This makes *nix RAW I/O behavior consistent with windows RAW I/O.

This commit is contained in:
Mark Pizzolato 2012-04-16 04:58:28 -07:00
parent eb60957366
commit dfcd818762

View file

@ -1652,6 +1652,9 @@ else
#ifdef O_LARGEFILE
mode |= O_LARGEFILE;
#endif
#ifdef O_DSYNC
mode |= O_DSYNC;
#endif
return (FILE *)((long)open (rawdevicename, mode, 0));
}