diff options
author | Michael Koch <konqueror@gmx.de> | 2003-05-16 08:09:32 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-05-16 08:09:32 +0000 |
commit | 18abc5e1d935e6c2416bb31d7625a5192d01e6f8 (patch) | |
tree | 5620d456129c3253c6b6e4b5da74a0b6534a86aa | |
parent | 75c834f80c42c0d2a5e383664d3cbf36e3f843f5 (diff) | |
download | gcc-18abc5e1d935e6c2416bb31d7625a5192d01e6f8.zip gcc-18abc5e1d935e6c2416bb31d7625a5192d01e6f8.tar.gz gcc-18abc5e1d935e6c2416bb31d7625a5192d01e6f8.tar.bz2 |
2003-05-16 Michael Koch <konqueror@gmx.de>
* java/io/natFileDescriptorPosix.cc
(open): Commented out the O_SYNC and O_DSYNC usage until its better
tested.
From-SVN: r66859
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/java/io/natFileDescriptorPosix.cc | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 30479ae..991730d 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2003-05-16 Michael Koch <konqueror@gmx.de> + + * java/io/natFileDescriptorPosix.cc + (open): Commented out the O_SYNC and O_DSYNC usage until its better + tested. + 2003-05-14 Michael Koch <konqueror@gmx.de> * gnu/java/nio/FileLockImpl.java diff --git a/libjava/java/io/natFileDescriptorPosix.cc b/libjava/java/io/natFileDescriptorPosix.cc index 2ad2d9d..b8892af 100644 --- a/libjava/java/io/natFileDescriptorPosix.cc +++ b/libjava/java/io/natFileDescriptorPosix.cc @@ -105,11 +105,13 @@ java::io::FileDescriptor::open (jstring path, jint jflags) } } +/* FIXME: comment this out until its better tested/implemented if ((jflags & SYNC)) flags |= O_SYNC; if ((jflags & DSYNC)) flags |= O_DSYNC; +*/ int fd = ::open (buf, flags, mode); if (fd == -1 && errno == EMFILE) |