Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group