| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; q=dns; s=default; b=O24Z | |
| dS5e17N2Ef3fSIpPFZ5wHAbwNa3TSzXniMiVjX0GRlqJiZ7WLVDFOwA9Ued2Vakt | |
| DfZzCYjYoGrBoSNcNpRtqcarT4szv+OOfzCi0YDb/rHYaV2QDa9zQMaXJH6E4mp5 | |
| /6Djdw+HL3isn6w9uqyVVBUfkcXXY7/fVB3DYyI= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; s=default; bh=QqANgnnZge | |
| ZulIcPmWeHK+HUz/Y=; b=aIK+2E/YZf21YxzyPkLPOef3PK6FqlO74pvKeL4KQW | |
| cRrP8invTe7jT0pNrT3yaZ+T5AMLa+66zuHbMBDbFbN1rr4O3lOxFEvxZxEpQNzX | |
| HttLMEXXluTRdF/GWTIHmUf41e/MdDYdN8gcLOcrHfzhF48a7E0EqQPQcJV2lUPd | |
| Q= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=oct, Oct, D*pl, H*c:application |
| X-HELO: | mx1.redhat.com |
| DMARC-Filter: | OpenDMARC Filter v1.3.2 mx1.redhat.com B152CECFA7 |
| Authentication-Results: | ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com |
| Authentication-Results: | ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=eblake AT redhat DOT com |
| Subject: | Re: change in wget logfile behavior |
| To: | cygwin AT cygwin DOT com |
| References: | <ujnodc5lil2atrkom7rssbcpis3e9m8grj AT 4ax DOT com> <e2015ee2-2c56-46d8-d6d9-fe8a8098408e AT redhat DOT com> |
| From: | Eric Blake <eblake AT redhat DOT com> |
| Openpgp: | url=http://people.redhat.com/eblake/eblake.gpg |
| Message-ID: | <0021c882-f9d5-5c2e-73ab-9b4d1e2881b7@redhat.com> |
| Date: | Thu, 27 Jul 2017 11:01:11 -0500 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <e2015ee2-2c56-46d8-d6d9-fe8a8098408e@redhat.com> |
| X-IsSubscribed: | yes |
--6F3rAfNAc23GUPx1kiPKsDeDqJRjntbPe
Content-Type: multipart/mixed; boundary="v5A6VCQvodfUx1cHdpvRpPB5AF49QO8kF";
protected-headers="v1"
From: Eric Blake <eblake AT redhat DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <0021c882-f9d5-5c2e-73ab-9b4d1e2881b7 AT redhat DOT com>
Subject: Re: change in wget logfile behavior
References: <ujnodc5lil2atrkom7rssbcpis3e9m8grj AT 4ax DOT com>
<e2015ee2-2c56-46d8-d6d9-fe8a8098408e AT redhat DOT com>
In-Reply-To: <e2015ee2-2c56-46d8-d6d9-fe8a8098408e AT redhat DOT com>
--v5A6VCQvodfUx1cHdpvRpPB5AF49QO8kF
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
[revisiting this thread]
On 03/29/2017 08:45 PM, Eric Blake wrote:
> On 03/29/2017 08:30 PM, Andrew Schulman wrote:
>> Recently, I guess since wget was upgraded to 1.19, whenever I run wget I=
get a
>> bonus message on the console:
>>
>> Redirecting output to =E2=80=98wget-log=E2=80=99.
>>
>> And sure enough, wget creates the file ~/wget-log, which is usually empt=
y.
I didn't see anything in NEWS, but the git log includes:
commit dd5c549f6af8e1143e1a6ef66725eea4bcd9ad50
Author: losgrandes <pwajda AT gmail DOT net DOT pl>
Date: Fri Oct 21 17:12:58 2016 +0200
Fixes #45790: wget prints it's progress even when background
* src/log.c: Use tcgetpgrp(STDIN_FILENO) !=3D getpgrp() to determine
when to print to STD* or logfile.
Deprecate log_request_redirect_output function.
Use different file handles for STD* and logfile, to easily switch
between them when changing fg/bg.
I didn't do anything special for the just-built 1.19.1-2 released today,
but if you are still seeing the issue, is it only when you run 'wget
...&' in the background, or always? Could it be an issue with cygwin's
tcgetpgrp(STDIN_FILENO)?
>>
>> This behavior is annoying, and new. It can be worked around by putting=
=20
>>
>> logfile =3D /dev/stderr
>>
>> in /etc/wgetrc.
I'm afraid that doing that may violate the intention of what was
supposed to be a fix. You may also want to raise the issue upstream.
--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
--v5A6VCQvodfUx1cHdpvRpPB5AF49QO8kF--
--6F3rAfNAc23GUPx1kiPKsDeDqJRjntbPe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAll6DkcACgkQp6FrSiUn
Q2rhfAf/ZKyWKK0VEdTgEqttcs+LwiAqqDdSJhLFPMDHS87sNtzjTIthQpkna7S9
Rgy7JcDoH+co2ibRViYF4XdkMJIkrK7ozBoUY5Zw1yRanKudrAyUlpqxpFBC7HUT
fgmpVHcywHmZvV2kL7RPO12Cvj8dtq19eLqkCIWb///sX2VlipfUjB09hxzyn35x
Fllw9AnkMEtKFEaeyF+gl85TTfeJipFKO487zyDp+huFDw6mtf8VfABctcGzN8IX
uBmU//Lv0+9lRPdalmFJgTKAUsY1xF7OE1qj/QaD3+T5YHw4FSPRHuyer6lYxnmF
EHo0veutpIf71IIaxDSV53lqcGmdxA==
=yGjB
-----END PGP SIGNATURE-----
--6F3rAfNAc23GUPx1kiPKsDeDqJRjntbPe--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |