projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unistd-safer: add unit test
[gnulib.git]
/
lib
/
cloexec.c
diff --git
a/lib/cloexec.c
b/lib/cloexec.c
index
57e0be5
..
18985cb
100644
(file)
--- a/
lib/cloexec.c
+++ b/
lib/cloexec.c
@@
-128,7
+128,7
@@
dup_cloexec (int fd)
# if REPLACE_FCHDIR
if (0 <= nfd)
-
result
= _gl_register_dup (fd, nfd);
+
nfd
= _gl_register_dup (fd, nfd);
# endif
return nfd;