* jartool.c (extract_jar): Unconditionally read extra data in the
entry header; don't read it after the file contents.
From-SVN: r87990
+2004-09-23 Tom Tromey <tromey@redhat.com>
+
+ * jartool.c (extract_jar): Unconditionally read extra data in the
+ entry header; don't read it after the file contents.
+
2004-08-11 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/16164
exit(1);
}
+ if (eflen > 0)
+ consume(&pbf, eflen);
+
if(method == 8 || flags & 0x0008){
- consume(&pbf, eflen);
inflate_file(&pbf, f_fd, &ze);
} else {
printf("%d bytes written\n", out_a);
#endif
}
-
- consume(&pbf, eflen);
}
/* if there is a data descriptor left, compare the CRC */