commit-classpath
[Top][All Lists]
Advanced

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

Patch: java.io.RandomAccessFile.setLength


From: Michael Koch
Subject: Patch: java.io.RandomAccessFile.setLength
Date: Fri, 28 May 2004 23:57:18 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch to fix a bug found by Etienne 
Gagnon with ant 1.6. This is an off by one error. We dont try to 
resize a file to its actual size anymore.


Michael


2004-05-28  Michael Koch  <address@hidden>

        * java/io/RandomAccessFile.java
        (setLength): Only extend file if new size is bigger.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAt7XFWSOgCCdjSDsRAtyzAJwPfVOwMiJudukQGeC+VMfBY9RQfwCfcaDh
t2ePsaBjJepyyCLYXSrn3j8=
=fU8E
-----END PGP SIGNATURE-----

Attachment: seek.diff
Description: Text Data


reply via email to

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