summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libstddjb/openwritenclose_unsafe.c1
-rw-r--r--src/libstddjb/openwritevnclose_unsafe.c1
2 files changed, 0 insertions, 2 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 ;
}
diff --git a/src/libstddjb/openwritevnclose_unsafe.c b/src/libstddjb/openwritevnclose_unsafe.c
index ddcbfd3..f3e6a6a 100644
--- a/src/libstddjb/openwritevnclose_unsafe.c
+++ b/src/libstddjb/openwritevnclose_unsafe.c
@@ -18,6 +18,5 @@ int openwritevnclose_unsafe_internal (char const *fn, struct iovec const *v, uns
errno = e ;
return 0 ;
}
- fd_close(fd) ;
return 1 ;
}