[kaffe] CVS kaffe (dalibor): Small fix for jar -C

Kaffe CVS cvs-commits at kaffe.org
Sun Aug 15 15:43:25 PDT 2004


PatchSet 5068 
Date: 2004/08/15 22:34:15
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Small fix for jar -C

2004-08-15  Mark Wielaard  <mark at klomp.org>

        * libraries/javalib/kaffe/tools/jar/Jar.java
        (createFileLookupTable): Don't double check File.isAbsolute().

Members: 
	ChangeLog:1.2626->1.2627 
	libraries/javalib/kaffe/tools/jar/Jar.java:1.6->1.7 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2626 kaffe/ChangeLog:1.2627
--- kaffe/ChangeLog:1.2626	Sun Aug 15 22:12:48 2004
+++ kaffe/ChangeLog	Sun Aug 15 22:34:15 2004
@@ -1,3 +1,8 @@
+2004-08-15  Mark Wielaard  <mark at klomp.org>
+
+	* libraries/javalib/kaffe/tools/jar/Jar.java
+	(createFileLookupTable): Don't double check File.isAbsolute().
+
 2004-08-15  Jeroen Frijters  <jeroen at frijters.net>
 
 	* libraries/javalib/java/io/File.java:
Index: kaffe/libraries/javalib/kaffe/tools/jar/Jar.java
diff -u kaffe/libraries/javalib/kaffe/tools/jar/Jar.java:1.6 kaffe/libraries/javalib/kaffe/tools/jar/Jar.java:1.7
--- kaffe/libraries/javalib/kaffe/tools/jar/Jar.java:1.6	Tue Apr 27 18:25:19 2004
+++ kaffe/libraries/javalib/kaffe/tools/jar/Jar.java	Sun Aug 15 22:34:22 2004
@@ -494,9 +494,7 @@
 
 	    if (! tmp.isAbsolute()) {
 		tmp = new XPFile(parent,files[i]);
-	    }
-
-	    if (tmp.isAbsolute()) {
+	    } else {
 		// Find and remove the first '/' in the short name
 		String name = files[i];
 		int index = name.indexOf('/');



More information about the kaffe mailing list