summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier2018-08-04 20:32:54 +0000
committerMichael Paquier2018-08-04 20:32:54 +0000
commit69599cc49e7cc48f180e49322aea00c1ec634388 (patch)
tree748239159b16d5e740249cdae47cfd0a2d6392d9 /doc/src
parent0229e087df2ac050f53140fd7497d0e70943d16f (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