summaryrefslogtreecommitdiff
path: root/gcc/java/zipfile.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-02 20:02:35 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-02 20:02:35 +0000
commit3a6ff6347c47d599c8a8b979766c345d6fece841 (patch)
tree90163de1e6b727cfe012f66de458f03150d43180 /gcc/java/zipfile.h
parent67fa160f5195047ed7bae65ec01f47d3482d3816 (diff)
downloadgcc-3a6ff6347c47d599c8a8b979766c345d6fece841.tar.gz
PR java/33765:
* jcf-parse.c (java_parse_file): Ignore ZIPEMPTYMAGIC files. * zipfile.h (ZIPEMPTYMAGIC): New define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/zipfile.h')
-rw-r--r--gcc/java/zipfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/zipfile.h b/gcc/java/zipfile.h
index 39e3a5f221d..d78226a495c 100644
--- a/gcc/java/zipfile.h
+++ b/gcc/java/zipfile.h
@@ -58,6 +58,7 @@ extern struct ZipFile *SeenZipFiles;
#define ZIPDIR_NEXT(ZIPD) \
((ZipDirectory*)((char*)(ZIPD)+(ZIPD)->direntry_size))
#define ZIPMAGIC 0x504b0304
+#define ZIPEMPTYMAGIC 0x504b0506
extern ZipFile * opendir_in_zip (const char *, int);
extern int read_zip_archive (ZipFile *);