pgsql: Return value of lseek() can be negative on failure. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Return value of lseek() can be negative on failure.
Date
Msg-id E1Tuspa-0003VK-VE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Return value of lseek() can be negative on failure.

Because the return value of lseek() was assigned to an unsigned size_t
variable, we'd fail to notice an error return code -1. Compiler gave a
warning about this.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3f4b1749a8168893558f70021be4f40c650bbada

Modified Files
--------------
src/backend/replication/walsender.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix obsolete SQL syntax in comment.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix hash_update_hash_key() to handle same-bucket case correctly.