This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]