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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
