From 18abc5e1d935e6c2416bb31d7625a5192d01e6f8 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 16 May 2003 08:09:32 +0000 Subject: 2003-05-16 Michael Koch * java/io/natFileDescriptorPosix.cc (open): Commented out the O_SYNC and O_DSYNC usage until its better tested. From-SVN: r66859 --- libjava/java/io/natFileDescriptorPosix.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjava/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) -- cgit v1.1