bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/32030] RandomAccessFile truncates on rw access


From: csm at gnu dot org
Subject: [Bug classpath/32030] RandomAccessFile truncates on rw access
Date: 31 May 2007 07:36:36 -0000


------- Comment #5 from csm at gnu dot org  2007-05-31 07:36 -------
I don't think that fix is correct, or that the problem is in the native code.

I think instead RandomAccessFile should set include the FileChannelImpl.APPEND
flag in `fdmode' if the file is being opened for write.

LOTS of things use that native code, and may depend on its current behavior; I
don't think changing it is a good idea.


-- 

csm at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32030





reply via email to

[Prev in Thread] Current Thread [Next in Thread]