diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-08 20:20:05 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-08 20:20:05 +0000 |
commit | 05f0480fcf0ae68552ae3a670330a850898278f6 (patch) | |
tree | 4a688f8159f7769dbbbd3a932ddab33a7ebd1191 /src/libstddjb/openwritenclose_unsafe.c | |
parent | be91976103cab950f954aa9a8e6a6fcdc939a167 (diff) | |
download | skalibs-05f0480fcf0ae68552ae3a670330a850898278f6.tar.xz |
Fix double close in openwrite*
Diffstat (limited to 'src/libstddjb/openwritenclose_unsafe.c')
-rw-r--r-- | src/libstddjb/openwritenclose_unsafe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstddjb/openwritenclose_unsafe.c b/src/libstddjb/openwritenclose_unsafe.c index e5ac260..7969e4f 100644 --- a/src/libstddjb/openwritenclose_unsafe.c +++ b/src/libstddjb/openwritenclose_unsafe.c @@ -16,6 +16,5 @@ int openwritenclose_unsafe_internal (char const *fn, char const *s, size_t len, errno = e ; return 0 ; } - fd_close(fd) ; return 1 ; } |