Modernize zic's test for valid timezone abbreviations.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2016 19:58:44 +0000 (15:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2016 19:59:14 +0000 (15:59 -0400)
commit12aa56d4d629addbe9cfdb578a3255288eded319
treec26c940fd1197b52fe4ee9d30a7376296cbc9a74
parent31d02ebf74db9b79d76d4d072b8fd6d9a6f877bc
Modernize zic's test for valid timezone abbreviations.

We really need to sync all of our IANA-derived timezone code with upstream,
but that's going to be a large patch and I certainly don't care to shove
such a thing into stable branches immediately before a release.  As a
stopgap, copy just the tzcode2016c logic that checks validity of timezone
abbreviations.  This prevents getting multiple "time zone abbreviation
differs from POSIX standard" bleats with tzdata 2014b and later.
src/timezone/zic.c