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
This commit is contained in:
parent
75c834f80c
commit
18abc5e1d9
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue