mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Report stdout close errors.
This commit is contained in:
parent
6a25955fe6
commit
04f29f2f08
@ -1,3 +1,7 @@
|
|||||||
|
2012-02-26 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
|
* bootstrap.conf (gnulib_modules): Add module `closeout'.
|
||||||
|
|
||||||
2012-01-09 Gijs van Tulder <gvtulder@gmail.com>
|
2012-01-09 Gijs van Tulder <gvtulder@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Always try to use libz, even without SSL.
|
* configure.ac: Always try to use libz, even without SSL.
|
||||||
|
4
NEWS
4
NEWS
@ -1,7 +1,7 @@
|
|||||||
GNU Wget NEWS -- history of user-visible changes.
|
GNU Wget NEWS -- history of user-visible changes.
|
||||||
|
|
||||||
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||||
2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
|
2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
|
||||||
See the end for copying conditions.
|
See the end for copying conditions.
|
||||||
|
|
||||||
Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
||||||
@ -18,6 +18,8 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
|||||||
** Autoreconf works again for distributed tarballs.
|
** Autoreconf works again for distributed tarballs.
|
||||||
|
|
||||||
** Print some diagnostic messages to stderr not to stdout.
|
** Print some diagnostic messages to stderr not to stdout.
|
||||||
|
|
||||||
|
** Report stdout close errors.
|
||||||
|
|
||||||
* Changes in Wget 1.13.4
|
* Changes in Wget 1.13.4
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# bootstrap.conf - Bootstrap configuration.
|
# bootstrap.conf - Bootstrap configuration.
|
||||||
# Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
|
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
|
||||||
# Inc.
|
# Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Wget.
|
# This file is part of GNU Wget.
|
||||||
@ -33,6 +33,7 @@ bind
|
|||||||
c-ctype
|
c-ctype
|
||||||
clock-time
|
clock-time
|
||||||
close
|
close
|
||||||
|
closeout
|
||||||
connect
|
connect
|
||||||
fcntl
|
fcntl
|
||||||
futimens
|
futimens
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2012-02-26 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
|
* main.c: Include "closeout.h"
|
||||||
|
(main): Register close_stdout at exit.
|
||||||
|
|
||||||
2012-02-01 Gijs van Tulder <gvtulder@gmail.com>
|
2012-02-01 Gijs van Tulder <gvtulder@gmail.com>
|
||||||
|
|
||||||
* warc.c: Fix large file support with ftello, fseeko.
|
* warc.c: Fix large file support with ftello, fseeko.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Command line parsing.
|
/* Command line parsing.
|
||||||
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||||
2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
|
2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
This file is part of GNU Wget.
|
This file is part of GNU Wget.
|
||||||
@ -56,7 +56,7 @@ 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>
|
||||||
@ -966,6 +966,8 @@ 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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user