summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-12-29 18:23:28 +0000
committermillert <millert@openbsd.org>2015-12-29 18:23:28 +0000
commit09522baa5e15b29093a0dd4fdf53d9ea3cb4add9 (patch)
tree12c4d564a0b624ab0911e0bfa9bf315227513be2 /usr.bin/patch/patch.c
parentmention that ibuf_free() does not need a NULL check. (diff)
downloadwireguard-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