Commit 23e95411 by Tom Tromey Committed by Tom Tromey

ZipFile.java (ZipFile): Delete file when opened in DELETE mode.

	* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in
	DELETE mode.

From-SVN: r36144
parent a1fa0b27
2000-09-04 Tom Tromey <tromey@cygnus.com>
* java/util/zip/ZipFile.java (ZipFile): Delete file when opened in
DELETE mode.
2000-09-04 Anthony Green <green@redhat.com>
Fix for PR java.io/203:
......
......@@ -40,7 +40,7 @@ public class ZipFile implements ZipConstants
if ((mode & OPEN_DELETE) != 0)
{
delete_on_close = f;
// f.deleteOnExit(); XXX - Not yet implemented in libgcj
f.deleteOnExit();
}
else
{
......
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