More zic cleanup.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Nov 2016 15:45:58 +0000 (10:45 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Nov 2016 15:45:58 +0000 (10:45 -0500)
commit32416b0f9a8502e7dff8afbf78e494c091b045e8
tree0f18c1d3aa1cca41f978a769c01748556a3680c9
parent1b00dd0ea0f392b08fa50f9fcaf60e8f20d26dfd
More zic cleanup.

The workaround the IANA guys chose to get rid of the clang warning
we'd silenced in commit 23ed2ba81 turns out not to satisfy Coverity.
Go back to the previous solution, ie, remove the useless comparison
to SIZE_MAX.  (In principle, there could be machines out there where
it's not useless because ptrdiff_t is wider than size_t.  But the whole
thing is pretty academic anyway, as we could never approach this limit
for any sane estimate of the amount of data that zic will ever be asked
to work with.)

Also, s/lineno/lineno_t/g, because if we accept their decision to start
using "lineno" as a typedef, it is going to have very unpleasant
consequences in our next pgindent run.  Noted that while fooling with
pltcl yesterday.
src/timezone/zic.c