mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-11 05:23:55 +08:00
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
@ -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>
|
||||
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user