aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-03 20:31:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-03 20:31:29 +0000
commit48fcbb803bb7fefd04a750130adf4dabf1a274e0 (patch)
tree137ada88c23751187ba9a9c17990c44d27169884 /src/backend/access/gist/gistxlog.c
parentc4810d9ae05a4c6b93cfbe5e58ae55cd1a0d3808 (diff)
downloadpostgresql-48fcbb803bb7fefd04a750130adf4dabf1a274e0.tar.gz
postgresql-48fcbb803bb7fefd04a750130adf4dabf1a274e0.zip
Fix a couple of places that would loop forever if attempts to read a stdio file
set ferror() but never set feof(). This is known to be the case for recent glibc when trying to read a directory as a file, and might be true for other platforms/cases too. Per report from Ed L. (There is more that we ought to do about his report, but this is one easily identifiable issue.)
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions