pgsql: Fix thinko in pg_read_file: testing for negative result is not

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix thinko in pg_read_file: testing for negative result is not
Date: 2005-10-15 19:47:09
Message-ID: 20051015194709.B4445D9B54@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix thinko in pg_read_file: testing for negative result is not the way
to determine whether fread() failed.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
genfile.c (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/genfile.c.diff?r1=1.7&r2=1.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2005-10-15 20:12:33 pgsql: Fix assorted typos in the documentation, and use American
Previous Message Tom Lane 2005-10-15 17:59:38 pgsql: Update 'supported platforms' list with current buildfarm results.