pgsql: More zic cleanup.
От | Tom Lane |
---|---|
Тема | pgsql: More zic cleanup. |
Дата | |
Msg-id | E1c3Pen-0005n8-TU@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
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. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6653dbafd8526a63b91a8b3a020b1616d17977ba Modified Files -------------- src/timezone/zic.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-)
В списке pgsql-committers по дате отправления: