projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fclose: Fix mistake earlier today.
[gnulib.git]
/
lib
/
fclose.c
diff --git
a/lib/fclose.c
b/lib/fclose.c
index
c0dfa27
..
27f6836
100644
(file)
--- a/
lib/fclose.c
+++ b/
lib/fclose.c
@@
-65,7
+65,7
@@
rpl_fclose (FILE *fp)
Some other thread could open fd between our calls to fclose and
_gl_unregister_fd. */
result = fclose (fp);
- if (result
>
= 0)
+ if (result
=
= 0)
_gl_unregister_fd (fd);
# else
/* No race condition here. */