summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp/ypmatch_cache.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-07-31 22:08:41 +0000
committermillert <millert@openbsd.org>2002-07-31 22:08:41 +0000
commit120f1d91abb9c36ba57f61dc8e8cc2f0df015292 (patch)
treec0bf979e07b69930920e2421dc6f743aa5d1e84b /lib/libc/yp/ypmatch_cache.c
parentmark pw_error() __dead since it exits (diff)
downloadwireguard-openbsd-120f1d91abb9c36ba57f61dc8e8cc2f0df015292.tar.xz
wireguard-openbsd-120f1d91abb9c36ba57f61dc8e8cc2f0df015292.zip
When I got removed the use of atexit() I missed the fact that edit()
calls pw_error() which in turn calls exit(). Now edit() returns its status so the temp file gets cleaned up nicely if the user makes no changes or if an error occurred. Problem noticed by deraadt@
Diffstat (limited to 'lib/libc/yp/ypmatch_cache.c')
0 files changed, 0 insertions, 0 deletions