1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

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> 2012-05-31 Ángel González <keisial@gmail.com>
* convert.c: fix segfault on wrong urls (bug 36570) * convert.c: fix segfault on wrong urls (bug 36570)

View File

@ -33,7 +33,6 @@ bind
c-ctype c-ctype
clock-time clock-time
close close
closeout
connect connect
fcntl fcntl
futimens 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> 2012-06-09 Giuseppe Scrivano <gscrivano@gnu.org>
* main.c (print_help): Move --report-speed under the section * 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 "http.h" /* for save_cookies */
#include "ptimer.h" #include "ptimer.h"
#include "warc.h" #include "warc.h"
#include "closeout.h"
#include <getopt.h> #include <getopt.h>
#include <getpass.h> #include <getpass.h>
#include <quote.h> #include <quote.h>
@ -982,8 +981,6 @@ main (int argc, char **argv)
i18n_initialize (); i18n_initialize ();
atexit (close_stdout);
/* Construct the name of the executable, without the directory part. */ /* Construct the name of the executable, without the directory part. */
#ifdef __VMS #ifdef __VMS
/* On VMS, lose the "dev:[dir]" prefix and the ".EXE;nnn" suffix. */ /* On VMS, lose the "dev:[dir]" prefix and the ".EXE;nnn" suffix. */