+2012-06-17 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * wget.h: Define `CLOSEFAILED'.
+ * init.c: Include "exits.h".
+ (cleanup): Check `fclose' failure.
+ * exits.c (get_status_for_err): Handle `CLOSEFAILED'.
+
2012-06-16 Giuseppe Scrivano <gscrivano@gnu.org>
+ * main.c (main): Move some cleanup related function to...
+ * init.c (cleanup): ...here.
+
* main.c: Do not include "stdout.h".
(main): Do not register `close_stdout' at exit.
Reported by: Micah Cowan <micah@cowan.name>.