diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-31 16:14:55 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-31 16:14:55 -0400 |
commit | c202ecf9023ac3571709c274b326038ae39e90a7 (patch) | |
tree | 1a7e11867cede8f397a729c4fb925c2d72120355 /src/backend/access/transam/generic_xlog.c | |
parent | 61608d38361f911a741d4a7df63afe3c7221437e (diff) | |
download | postgresql-c202ecf9023ac3571709c274b326038ae39e90a7.tar.gz postgresql-c202ecf9023ac3571709c274b326038ae39e90a7.zip |
Another zic portability fix.
I should have remembered that we can't use INT64_MODIFIER with sscanf():
configure chooses that to work with snprintf(), but it might be for our
src/port/snprintf.c implementation and so not compatible with the
platform's sscanf(). This appears to be the explanation for buildfarm
member frogmouth's continuing unhappiness with the tzcode update.
Fortunately, in all of the places where zic is attempting to read into
an int64 variable, it's reading a year which certainly will fit just fine
into an int. So make it read into an int with %d, and then cast or copy
as necessary.
Diffstat (limited to 'src/backend/access/transam/generic_xlog.c')
0 files changed, 0 insertions, 0 deletions