Projects
home:pandora:RobinOS23
tzdata
_service:download_src_package:rebase-02.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:rebase-02.patch of Package tzdata
diff --git a/rebase-02.patch b/rebase-02.patch new file mode 100644 index 0000000..0f57125 --- /dev/null +++ b/rebase-02.patch @@ -0,0 +1,36 @@ +--- sun/tools/javazic/Mappings.java.orig 2015-04-13 12:40:26.000000000 -0400 ++++ sun/tools/javazic/Mappings.java 2015-04-13 12:42:11.000000000 -0400 +@@ -75,8 +75,10 @@ + Zone zone = zones.get(zoneName); + String zonename = zone.getName(); + int rawOffset = zone.get(zone.size()-1).getGmtOffset(); ++ + // If the GMT offset of this Zone will change in some + // future time, this Zone is added to the exclude list. ++ boolean isExcluded = false; + if (zone.size() > 1) { + ZoneRec zrec = zone.get(zone.size()-2); + if ((zrec.getGmtOffset() != rawOffset) +@@ -85,7 +87,7 @@ + excludeList = new ArrayList<String>(); + } + excludeList.add(zone.getName()); +- continue; ++ isExcluded = true; + } + } + +@@ -101,9 +103,11 @@ + rawOffsetsIndex.add(i, rawOffset); + + Set<String> perRawOffset = new TreeSet<String>(); +- perRawOffset.add(zonename); ++ if (!isExcluded) { ++ perRawOffset.add(zonename); ++ } + rawOffsetsIndexTable.add(i, perRawOffset); +- } else { ++ } else if (!isExcluded) { + int i = rawOffsetsIndex.indexOf(new Integer(rawOffset)); + Set<String> perRawOffset = rawOffsetsIndexTable.get(i); + perRawOffset.add(zonename);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2