Commit 18abc5e1 by Michael Koch Committed by Michael Koch

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
parent 75c834f8
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
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment