mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 12:12:52 +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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user