Modernize zic's test for valid timezone abbreviations.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 528f112b049b22c72f1d16f22754585254d6115b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-26T19:59:37Z
Releases: 9.1.21
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.

Files

PathChange+/−
src/timezone/zic.c modified +5 −20