Do not close stdout twice.

This commit is contained in:
Giuseppe Scrivano 2012-06-16 12:15:03 +02:00
parent 4661f141bb
commit 93720df4c8
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-06-16 Giuseppe Scrivano <gscrivano@gnu.org>
* bootstrap.conf (gnulib_modules): Remove `closeout'.
Reported by: Micah Cowan <micah@cowan.name>.
2012-05-31 Ángel González <keisial@gmail.com>
* convert.c: fix segfault on wrong urls (bug 36570)

View File

@ -33,7 +33,6 @@ bind
c-ctype
clock-time
close
closeout
connect
fcntl
futimens

View File

@ -1,3 +1,9 @@
2012-06-16 Giuseppe Scrivano <gscrivano@gnu.org>
* main.c: Do not include "stdout.h".
(main): Do not register `close_stdout' at exit.
Reported by: Micah Cowan <micah@cowan.name>.
2012-06-09 Giuseppe Scrivano <gscrivano@gnu.org>
* main.c (print_help): Move --report-speed under the section

View File

@ -56,7 +56,6 @@ as that of the covered work. */
#include "http.h" /* for save_cookies */
#include "ptimer.h"
#include "warc.h"
#include "closeout.h"
#include <getopt.h>
#include <getpass.h>
#include <quote.h>
@ -982,8 +981,6 @@ main (int argc, char **argv)
i18n_initialize ();
atexit (close_stdout);
/* Construct the name of the executable, without the directory part. */
#ifdef __VMS
/* On VMS, lose the "dev:[dir]" prefix and the ".EXE;nnn" suffix. */