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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix a couple of places where the result of fgets() wasn't
Date
Msg-id 20100430170914.0AC387541D2@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix handling of b-tree reuse WAL records when hot standby is
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix multiple memory leaks in PLy_spi_execute_fetch_result: it