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:
parent
eb60957366
commit
dfcd818762
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue