[armedbear-cvs] r12652 - trunk/abcl/src/org/armedbear/lisp
Mark Evenson
mevenson at common-lisp.net
Mon May 3 13:43:01 UTC 2010
Author: mevenson
Date: Mon May 3 09:43:00 2010
New Revision: 12652
Log:
Use '/' as directory path separator for URL-PATHNAME and JAR-PATHNAME.
Modified:
trunk/abcl/src/org/armedbear/lisp/Pathname.java
Modified: trunk/abcl/src/org/armedbear/lisp/Pathname.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Pathname.java (original)
+++ trunk/abcl/src/org/armedbear/lisp/Pathname.java Mon May 3 09:43:00 2010
@@ -740,8 +740,8 @@
// the namestring." 19.2.2.2.3.1
if (directory != NIL) {
final char separatorChar;
- if (device instanceof Cons) {
- separatorChar = '/'; // Jar file.
+ if (isJar() || isURL()) {
+ separatorChar = '/';
} else {
separatorChar = File.separatorChar;
}
More information about the armedbear-cvs
mailing list