diff options
| author | Jeroen Frijters <jeroen@sumatra.nl> | 2006-02-21 09:21:52 +0000 |
|---|---|---|
| committer | Jeroen Frijters <jeroen@sumatra.nl> | 2006-02-21 09:21:52 +0000 |
| commit | 80963a024a60371c5bb609165399e09214d021a0 (patch) | |
| tree | d80a40495020c44055f6e7fefc8c05c684e0146d /java/util/zip/ZipConstants.java | |
| parent | 34b6c1d7b0d3919439c857650bcd26c08989fae4 (diff) | |
| download | classpath-80963a024a60371c5bb609165399e09214d021a0.tar.gz | |
2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
* java/util/zip/ZipConstants.java
(LOCSIG): Change type to long.
(EXTSIG): Likewise.
(CENSIG): Likewise.
(ENDSIG): Likewise.
* java/util/zip/ZipOutputStream.java
(writeLeInt(long)): New method.
Diffstat (limited to 'java/util/zip/ZipConstants.java')
| -rw-r--r-- | java/util/zip/ZipConstants.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/util/zip/ZipConstants.java b/java/util/zip/ZipConstants.java index 952a44def..6d664196a 100644 --- a/java/util/zip/ZipConstants.java +++ b/java/util/zip/ZipConstants.java @@ -1,5 +1,5 @@ /* java.util.zip.ZipConstants - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,7 +41,7 @@ interface ZipConstants { /* The local file header */ int LOCHDR = 30; - int LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24); + long LOCSIG = 'P'|('K'<<8)|(3<<16)|(4<<24); int LOCVER = 4; int LOCFLG = 6; @@ -54,7 +54,7 @@ interface ZipConstants int LOCEXT = 28; /* The Data descriptor */ - int EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24); + long EXTSIG = 'P'|('K'<<8)|(7<<16)|(8<<24); int EXTHDR = 16; int EXTCRC = 4; @@ -62,7 +62,7 @@ interface ZipConstants int EXTLEN = 12; /* The central directory file header */ - int CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24); + long CENSIG = 'P'|('K'<<8)|(1<<16)|(2<<24); int CENHDR = 46; int CENVEM = 4; @@ -82,7 +82,7 @@ interface ZipConstants int CENOFF = 42; /* The entries in the end of central directory */ - int ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24); + long ENDSIG = 'P'|('K'<<8)|(5<<16)|(6<<24); int ENDHDR = 22; /* The following two fields are missing in SUN JDK */ |
