summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier2018-08-04 20:32:12 +0000
committerMichael Paquier2018-08-04 20:32:12 +0000
commit7124e64520834cd238c9f0efcfe429c28696b11d (patch)
tree1ba87fd3b130d2f5c795a28c0603644abba8df67 /doc/src
parentc83408aa71e06f60c30ffda103f513b7d52db05d (diff)
Reset properly errno before calling write()
6cb3372 enforces errno to ENOSPC when less bytes than what is expected have been written when it is unset, though it forgot to properly reset errno before doing a system call to write(), causing errno to potentially come from a previous system call. Reported-by: Tom Lane Author: Michael Paquier Reviewed-by: Tom Lane Discussion: https://postgr.es/m/31797.1533326676@sss.pgh.pa.us
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions