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
This commit is contained in:
parent
a1fa0b27e7
commit
23e9541117
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2000-09-04 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
Fix for PR java.io/203:
|
Fix for PR java.io/203:
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class ZipFile implements ZipConstants
|
||||||
if ((mode & OPEN_DELETE) != 0)
|
if ((mode & OPEN_DELETE) != 0)
|
||||||
{
|
{
|
||||||
delete_on_close = f;
|
delete_on_close = f;
|
||||||
// f.deleteOnExit(); XXX - Not yet implemented in libgcj
|
f.deleteOnExit();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue