diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2003-06-05 22:37:02 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2003-06-05 22:37:02 +0000 |
commit | 49c72d225b8c33c995641193365b05e0492e2e4e (patch) | |
tree | be358b187ff70984c90220e3fda331404115f67c /libjava/java | |
parent | 23c84d335bc3b6bcb968d50a666c2e1afc9c14ac (diff) | |
download | gcc-49c72d225b8c33c995641193365b05e0492e2e4e.zip gcc-49c72d225b8c33c995641193365b05e0492e2e4e.tar.gz gcc-49c72d225b8c33c995641193365b05e0492e2e4e.tar.bz2 |
posix.h (O_SYNC): Define if not available and a reasonable...
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
From-SVN: r67517
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/io/natFileDescriptorPosix.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libjava/java/io/natFileDescriptorPosix.cc b/libjava/java/io/natFileDescriptorPosix.cc index b8892af..2ad2d9d 100644 --- a/libjava/java/io/natFileDescriptorPosix.cc +++ b/libjava/java/io/natFileDescriptorPosix.cc @@ -105,13 +105,11 @@ 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) |