aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-10-17 00:58:12 +0800
committerGreg Lewis <glewis@FreeBSD.org>2004-10-17 00:58:12 +0800
commit4e95ec3207baf01a5b668e01aacae0143fa56d49 (patch)
treed357fd142efed4a75d70cc9d42b02c53921817e2 /devel
parent4c02adff5922b72efe2eccb266a86daeebd4ac4f (diff)
downloadfreebsd-ports-gnome-4e95ec3207baf01a5b668e01aacae0143fa56d49.tar.gz
freebsd-ports-gnome-4e95ec3207baf01a5b668e01aacae0143fa56d49.tar.zst
freebsd-ports-gnome-4e95ec3207baf01a5b668e01aacae0143fa56d49.zip
. At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined
(for FreeBSD 4.x neither are defined and for FreeBSD 5.x O_DSYNC isn't defined). This caused them to be defined to some bogus values. In particular, O_SYNC would be defined as 0x800, which is O_EXCL (at least on FreeBSD 4.x). The result being that the RandomAccessFile class would fail to open an existing file if you specified "s" as part of the mode. Fix this by defining O_SYNC and O_DSYNC to O_FSYNC if they aren't defined.
Diffstat (limited to 'devel')
0 files changed, 0 insertions, 0 deletions