Fix conflicting value of O_DSYNC.

O_RESOLVE_BENEATH recently took value 0x00800000, but I failed to spot
that while rebasing.  Let's use 0x01000000 for the new O_DSYNC flag.

Reported by: kevans
This commit is contained in:
Thomas Munro 2021-01-08 18:01:15 +13:00
parent 429c7d1ab4
commit da3ef8e66a

View File

@ -141,7 +141,7 @@ typedef __pid_t pid_t;
return back */
#endif
#define O_DSYNC 0x00800000 /* POSIX data sync */
#define O_DSYNC 0x01000000 /* POSIX data sync */
/*
* XXX missing O_RSYNC.