pgsql: Fix a couple of places where the result of fgets() wasn't

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a couple of places where the result of fgets() wasn't
Date: 2010-04-30 17:09:14
Message-ID: 20100430170914.0AC387541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/bin/psql:
prompt.c (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/prompt.c?r1=1.53&r2=1.54)
pgsql/src/interfaces/libpq:
fe-connect.c (r1.391 -> r1.392)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.391&r2=1.392)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-04-30 18:43:03 Re: WAL page magic number (was Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct)
Previous Message Bruce Momjian 2010-04-30 16:43:03 Re: WAL page magic number (was Re: Re: [COMMITTERS] pgsql: Make CheckRequiredParameterValues() depend upon correct)