diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-03 20:31:09 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-03 20:31:09 +0000 |
commit | 61d75116a72329ba50cb9e89379eaf5ceab02419 (patch) | |
tree | c417197055f56e5c4b182612042e83b4a7497605 /src/tutorial/funcs.c | |
parent | eb1c3b5e3b076f919f4c7f4864492f8c323088d2 (diff) | |
download | postgresql-61d75116a72329ba50cb9e89379eaf5ceab02419.tar.gz postgresql-61d75116a72329ba50cb9e89379eaf5ceab02419.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions