mirror of
https://github.com/simh/simh.git
synced 2026-04-17 00:36:00 +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
|
#ifdef O_LARGEFILE
|
||||||
mode |= O_LARGEFILE;
|
mode |= O_LARGEFILE;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef O_DSYNC
|
||||||
|
mode |= O_DSYNC;
|
||||||
|
#endif
|
||||||
return (FILE *)((long)open (rawdevicename, mode, 0));
|
return (FILE *)((long)open (rawdevicename, mode, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user