1
0
mirror of https://github.com/simh/simh.git synced 2026-01-11 23:52:58 +00:00

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));
}