* lib/fclose.c (rpl_fclose): Don't assume that EOF < 0.
+2011-05-11 Bruno Haible <bruno@clisp.org>
+
+ fclose: Fix mistake earlier today.
+ * lib/fclose.c (rpl_fclose): Don't assume that EOF < 0.
+
2011-05-11 Eric Blake <eblake@redhat.com>
fclose: preserve fflush errors
2011-05-11 Eric Blake <eblake@redhat.com>
fclose: preserve fflush errors
Some other thread could open fd between our calls to fclose and
_gl_unregister_fd. */
result = fclose (fp);
Some other thread could open fd between our calls to fclose and
_gl_unregister_fd. */
result = fclose (fp);
_gl_unregister_fd (fd);
# else
/* No race condition here. */
_gl_unregister_fd (fd);
# else
/* No race condition here. */