This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: konqueror at gmx dot de
- Date: Thu, 15 May 2003 22:37:44 -0500 (CDT)
- Subject: libjava/java/io/natFileDescriptorPosix.cc -r1.25 -r1.26
This patch:
2003-05-13 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
(SYNC): New constant.
(DSYNC): Likewise.
[...]
broke bootstrap on *-*-freebsd[45]. FreeBSD 5 does support O_SYNC but
not O_DSYNC. FreeBSD 4 supports neither.
I would prefer the patch submitter to fix the problem in some manner.
Otherwise, I'd ask whether I need to implement a simple guard around
the use of these macros in java/io/natFileDescriptorPosix.cc, or
whether we need to throw an implementation error when SYNC/DSYNC was
requested at the "java layer" but there was no system support for it.
Regards,
Loren