delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/10/06:33:25

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
:content-transfer-encoding; q=dns; s=default; b=hfnaro5Nf6ESFJaB
nvKxN9u4wLqKCc5YJIz2rfjtsVChG8QN/yuR8SxjWPFgSXm6QOYs8UHXtj8/FRIz
RJSwpjdR9sYfs4EBpJK4w6fzVnfgurkk0amqZ/pZ578uxBL6ltd3DNAPEWntedKT
txmyNuJrB3CX8FO2LoEth7vGTlU=
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
:content-transfer-encoding; s=default; bh=bDqCx4JGep5kGw8Y4GANAJ
nipIY=; b=xf8Onm2X5wk3otgD4hbrAlWZr9SHDsmk3XDofcHQG1BjsnhHTAG2IA
Rx1pKaAqPeoZQzrEPzo9Vnwmm69aFTrwZN0or7eW25IKzVxZi9a7hIs1Qix4lStf
YaXFjkF3zFqi8Bk4GrvvbTGToZWsFibB/CH8FFyhzev7fYVyCFQ4s=
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.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:994, configuring
X-HELO: mail-lf0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=UZQ0O4v4q0T/BY2VZpyiP1L8yPpL80burdbk4xJW/Y8=; b=uDI73SA2bELoUQ8N6sH8JwqWeEg9UQqr6J9lr8mDijUMqZbAjsXWntO48HnRgqb77p QGRP8MsatFTB8kv/2AkhN17tK6ma9DiRCGIgYALML7EVFZ2dikKkZQAqGhuc/G+og0f3 7zFJDDHrs2pkZXNosudAit+mBXcP0gil71Tt0R+y4U6uDFMNfgWN17XSPqWfeZZ/KdhI juKScfQ5CueHzFQ6q3x2iYxxCggOeqIWoV9WBwr+eguoVjVAOfs/W+neUuqIHa7ATtwF gh5Cqsh/igHnKwhP7JPsLX7JTm5Y9EqE40cnUHmKfEP200MJ8aqmzH6m38ESsjp7YLix YchA==
X-Gm-Message-State: AIVw111DaJNB3pe1J0G5YmfB52N5xGFTCGWenDQmG+90+/wsy4EVoTFT /5VvU9adB02spmqn
X-Received: by 10.80.177.29 with SMTP id k29mr11175545edd.83.1499682787905; Mon, 10 Jul 2017 03:33:07 -0700 (PDT)
Subject: Re: Redirection to stderr
To: cygwin-mailinglist AT schneiderp DOT de, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <baa3a4f84968dd6aa9869d2c9f58197f DOT squirrel AT mail DOT schneiderp DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <b4de479d-882e-4e61-2916-1b54f318d76c@gmail.com>
Date: Mon, 10 Jul 2017 12:33:06 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <baa3a4f84968dd6aa9869d2c9f58197f.squirrel@mail.schneiderp.de>
X-IsSubscribed: yes

On 10/07/2017 11:06, cygwin-mailinglist wrote:
> Hi Marco,
>
> thanks for your reply. I'm mailing you personally because at first I only
> subscribed to the mailing list digest (so I didn't receive your response
> directly)  and cannot or don't know yet how to reply to your mail to the
> list which I only see in the web archive.--

reply to both.

> As to your question: The redundant redirection of "stderr to itself"
> appears in the context of a larger system of scripts which permit
> configuring the destination of the redirection. The original reads
> something like ''2> "$STDERR_TARGET"''. The elegance is that I can
> configure where diagnostic output goes by simply setting an environment
> variable. The scripts simply use whatever "file system location" (possibly
> /dev/stderr) is configured.
>
> Rationale aside, it is a bug, isn't it?

I guess a side effect of a lost race.
Redirecting something on itself it is not guarantee to work.

> Peter

Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019