Changeset 12947
- Timestamp:
- 10/03/10 21:39:43 (13 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Pathname.java
r12810 r12947 52 52 53 53 public class Pathname extends LispObject { 54 55 /** The path component separator used by internally generated 56 * path namestrings. 57 */ 58 public final static char separator = '/'; 54 59 55 60 protected LispObject host = NIL; -
trunk/abcl/src/org/armedbear/lisp/zip.java
r12402 r12947 131 131 int i = 0; 132 132 int j; 133 while ((j = d.indexOf( File.separator, i)) != -1) {133 while ((j = d.indexOf(Pathname.separator, i)) != -1) { 134 134 i = j + 1; 135 directory = d.substring(0, j) .replace(File.separatorChar, '/') + "/";135 directory = d.substring(0, j) + Pathname.separator; 136 136 if (!directories.contains(directory)) { 137 137 directories.add(directory);
Note: See TracChangeset
for help on using the changeset viewer.