Return value of lseek() can be negative on failure.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/walsender.c | modified | +2 −2 |