On 5/28/19 5:15 AM, 積丹尼 Dan Jacobson wrote: > Seen twice: > > $ wget -d -O K $@ > Setting --output-document (outputdocument) to K > Setting --output-document (outputdocument) to K > > GNU Wget 1.20.1 built on linux-gnu. >
Thanks, fixed by applying the following patch:
diff --git a/src/log.c b/src/log.c
index 0e9ea9cd..32765e2a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -483,7 +483,7 @@ log_vprintf_internal (struct logvprintf_state
*state, const char *fmt,
if (save_context_p)
saved_append (write_ptr);
FPUTS (write_ptr, fp);
- if (warcfp != NULL)
+ if (warcfp != NULL && warcfp != fp)
FPUTS (write_ptr, warcfp);
xfree (state->bigmsg);
Regards, Tim
signature.asc
Description: OpenPGP digital signature
