Changeset 15411
- Timestamp:
- 10/14/20 07:07:20 (3 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/JarPathname.java
r15410 r15411 70 70 public static JarPathname createFromPathname(Pathname p) { 71 71 JarPathname result = new JarPathname(); 72 Pathname rootDevice = newPathname();72 URLPathname rootDevice = new URLPathname(); 73 73 74 74 if (p instanceof URLPathname) { … … 77 77 // FIXME: not going to work with namestrings with characters 78 78 // that need URI escaping 79 URLPathname r = new URLPathname(); 80 r.copyFrom(p); 81 rootDevice = r; 79 rootDevice.copyFrom(p); 82 80 } else { 83 81 simple_error("Argument is already a JAR-PATHNAME: ~a", p); -
trunk/abcl/src/org/armedbear/lisp/ZipCache.java
r15408 r15411 559 559 } 560 560 } 561 562 synchronized public static boolean remove(Pathname pathname) { 563 JarPathname p = JarPathname.createFromPathname(pathname); 564 return remove(p); 565 } 561 566 562 567 synchronized public static boolean remove(JarPathname p) { 563 Archive archive = cache.get(p .getNamestring());568 Archive archive = cache.get(p); 564 569 if (archive != null) { 565 570 archive.close(); -
trunk/abcl/src/org/armedbear/lisp/delete_file.java
r15408 r15411 85 85 if (file.exists()) { 86 86 // File exists. 87 for (int i = 0; i < 5; i++) {88 if (file.delete()) 87 for (int i = 0; i < 2; i++) { 88 if (file.delete()) { 89 89 return T; 90 } 91 // Under Windows our fasls get placed in the ZipCache when compiled 92 ZipCache.remove(defaultedPathname); 90 93 System.gc(); 91 94 Thread.yield();
Note: See TracChangeset
for help on using the changeset viewer.