diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-03-22 19:33:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-03-22 19:33:20 +0000 |
commit | 80354f3adf68267d1e7a76c2378a58d08635dabd (patch) | |
tree | 70c58e5213ff2a4b610b830a7fb6fc45bdaec395 /lib/libc/stdio/mktemp.3 | |
parent | dcd3d8817d73944d51e4fd40a72c950817598ecf (diff) |
Even though this cannot happen in the diff -r case,
even though diff(1) will exit(3) soon after this mkstemp(3) failure,
even though this cannot really leak anything,
close the file descriptor as soon as it is not used any more
to make correctness of the code more obvious.
patch from Igor Zinovik <zinovik dot igor at gmail dot com> on tech@
"looks nice" deraadt@
Diffstat (limited to 'lib/libc/stdio/mktemp.3')
0 files changed, 0 insertions, 0 deletions