mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Exit immediately on a SIGPIPE error while logging.
This commit is contained in:
parent
f9d46e0f9c
commit
0b5b100fc9
@ -1,8 +1,13 @@
|
|||||||
|
2011-07-29 Giuseppe Scrivano <giuseppe@southpole.se>
|
||||||
|
|
||||||
|
* log.c (logprintf): Exit immediately on a SIGPIPE error.
|
||||||
|
Reported by: Nočl Köthe <noel@debian.org>.
|
||||||
|
|
||||||
2011-07-26 Carlos Martín Nieto <carlos@cmartin.tk> (tiny change)
|
2011-07-26 Carlos Martín Nieto <carlos@cmartin.tk> (tiny change)
|
||||||
|
|
||||||
* init.c (home_dir): Allocate path buffer dinamically.
|
* init.c (home_dir): Allocate path buffer dinamically.
|
||||||
|
|
||||||
2011-07-26 Giuseppe Scrivano <gscrivano@southpole.se>
|
2011-07-26 Giuseppe Scrivano <giuseppe@southpole.se>
|
||||||
|
|
||||||
* retr.c (retrieve_url): Do not register redirects when in spider mode.
|
* retr.c (retrieve_url): Do not register redirects when in spider mode.
|
||||||
|
|
||||||
@ -12,7 +17,7 @@
|
|||||||
UTF-8 URI encoding.
|
UTF-8 URI encoding.
|
||||||
* res.c (res_retrieve_file): Fix url_parse call.
|
* res.c (res_retrieve_file): Fix url_parse call.
|
||||||
|
|
||||||
2011-06-08 Giuseppe Scrivano <gscrivano@southpole.se>
|
2011-06-08 Giuseppe Scrivano <giuseppe@southpole.se>
|
||||||
|
|
||||||
* retr.c (retrieve_from_file): Parse the url careless if IRI is enabled.
|
* retr.c (retrieve_from_file): Parse the url careless if IRI is enabled.
|
||||||
Reported by: Volker Kuhlmann <list0570@paradise.net.nz>.
|
Reported by: Volker Kuhlmann <list0570@paradise.net.nz>.
|
||||||
|
@ -499,6 +499,9 @@ logprintf (enum log_options o, const char *fmt, ...)
|
|||||||
va_start (args, fmt);
|
va_start (args, fmt);
|
||||||
done = log_vprintf_internal (&lpstate, fmt, args);
|
done = log_vprintf_internal (&lpstate, fmt, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
|
|
||||||
|
if (done && errno == EPIPE)
|
||||||
|
exit (1);
|
||||||
}
|
}
|
||||||
while (!done);
|
while (!done);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user