[kaffe] bug: jar -t/-x does't handle paths correctly

Guilhem Lavaux guilhem at kaffe.org
Thu Jul 21 11:20:31 PDT 2005


Hi,

The patch looks ok to me. I will check it in reality just in case and
commit it.

Many thanks !

Regards,

Guilhem.

On Tue, 2005-07-19 at 14:41 -0400, Kurt Miller wrote:
> From: "Kurt Miller" <truk at optonline.net>
> > When jar is passed a path as a parameter using -t or -x, it
> > doesn't recurse into the directory and list/extract the files and
> > directories under it.
> > 
> > For example: given a test jar that looks like this:
> > $ jar tf test.jar
> > META-INF/
> > META-INF/MANIFEST.MF
> > com/
> > com/intricatesoft/
> > com/intricatesoft/test.class
> > 
> > $ jar tf test.jar com
> > 
> > lists nothing. jar xf com extracts nothing too.
> > 
> > This is with 1.1.5. I have tried 1.1.5 with
> > libraries/javalib/kaffe/tools/jar/Jar.java patched to match the
> > HEAD version too.
> 
> The below patch to HEAD adds support to jar to handle paths
> as described above. Paths ending in / and not ending in /
> are handled.






More information about the kaffe mailing list