diff --git a/libc/tools/zoneinfo/ZoneCompactor.java b/libc/tools/zoneinfo/ZoneCompactor.java index 8a1a62854..f47afd13e 100644 --- a/libc/tools/zoneinfo/ZoneCompactor.java +++ b/libc/tools/zoneinfo/ZoneCompactor.java @@ -198,6 +198,8 @@ public class ZoneCompactor { // Write the data. f.write(allData.toByteArray()); + int zonetab_offset = (int) f.getFilePointer(); + // Copy the zone.tab. reader = new BufferedReader(new FileReader(zoneTabFile)); while ((s = reader.readLine()) != null) { @@ -208,8 +210,6 @@ public class ZoneCompactor { } reader.close(); - int zonetab_offset = (int) f.getFilePointer(); - // Go back and fix up the offsets in the header. f.seek(index_offset_offset); f.writeInt(index_offset); diff --git a/libc/zoneinfo/tzdata b/libc/zoneinfo/tzdata index 91cf3a6b6..4cd14508e 100644 Binary files a/libc/zoneinfo/tzdata and b/libc/zoneinfo/tzdata differ