diff options
author | 2015-12-29 18:23:28 +0000 | |
---|---|---|
committer | 2015-12-29 18:23:28 +0000 | |
commit | 09522baa5e15b29093a0dd4fdf53d9ea3cb4add9 (patch) | |
tree | 12c4d564a0b624ab0911e0bfa9bf315227513be2 /usr.bin/patch/patch.c | |
parent | mention that ibuf_free() does not need a NULL check. (diff) | |
download | wireguard-openbsd-09522baa5e15b29093a0dd4fdf53d9ea3cb4add9.tar.xz wireguard-openbsd-09522baa5e15b29093a0dd4fdf53d9ea3cb4add9.zip |
Don't assume fprintf() will set the FILE * error condition.
Instead, check the return value of fprintf() and fflush()
and call clearerr() before returning on error. OK jca@
Diffstat (limited to 'usr.bin/patch/patch.c')
0 files changed, 0 insertions, 0 deletions