]> granicus.if.org Git - postgresql/commit
Fix a couple of places where the result of fgets() wasn't checked.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Apr 2010 17:09:13 +0000 (17:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Apr 2010 17:09:13 +0000 (17:09 +0000)
commit09543580471182ecab3b73c982485397edabbce2
treeb622ef3f45302ca9129bd04b67ef7be7ac85ea35
parent21992dd4f5165692dcf039b3ed192a759dcc4f2c
Fix a couple of places where the result of fgets() wasn't checked.
This is mostly to suppress compiler warnings, although in principle
the cases could result in undesirable behavior.

Martin Pitt
src/bin/psql/prompt.c
src/interfaces/libpq/fe-connect.c