bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] Respect -o parameter


From: Tim Rühsen
Subject: Re: [Bug-wget] [PATCH] Respect -o parameter
Date: Wed, 09 Nov 2016 13:33:47 +0100
User-agent: KMail/5.2.3 (Linux/4.8.0-1-amd64; KDE/5.27.0; x86_64; ; )

On Mittwoch, 9. November 2016 10:57:01 CET Piotr Wajda wrote:
>  * log.c: don't choose log output dynamically when opt.lfilename is set
> ---
>  src/log.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/log.c b/src/log.c
> index e068acf..51f30c4 100644
> --- a/src/log.c
> +++ b/src/log.c
> @@ -956,11 +956,11 @@ static void
>  check_redirect_output (void)
>  {
>  #ifndef WINDOWS
> -  /* If it was redirected already to log file by SIGHUP or SIGUSR1,
> -   * it was permanent and since that redirect_request_signal_name is set.
> +  /* If it was redirected already to log file by SIGHUP, SIGUSR1 or -o
> parameter, +   * it was permanent.
>     * If there was no SIGHUP or SIGUSR1 and shell is interactive
>     * we check if process is fg or bg before every line is printed.*/
> -  if (!redirect_request_signal_name && shell_is_interactive)
> +  if (!redirect_request_signal_name && shell_is_interactive &&
> !opt.lfilename) {
>        if (tcgetpgrp (STDIN_FILENO) != getpgrp ())
>          {

Thanks, Piotr ! Commit has been pushed.

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]