delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/10/09:42:12

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:message-id:in-reply-to:references:date:subject
:from:to:reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Ng4edKunPcXNjxlF
Lm7nbSRgdMtj/WnjJDDEWxPIoEM4d+jewhTmme0j5ij3cWcT2RnlhyZ/kWfXBIp+
F3cnWguIMII+ojUGuNMU6NE7a4UXTzZyKMGE5t/Bud2CvoJY5DoNscQ9R+h1DFpn
kdeZCG4SIqo3h+vNGBMCgnPTnTM=
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:message-id:in-reply-to:references:date:subject
:from:to:reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=T7OHP5UJKLpOlIODVeSt9H
Hg4IE=; b=n8vbG1COrkL4GmqLx7RlaM85a9JFHlYNu40xtjgIigIdIJvDSRNuu9
EDz40eHkFjOJtIzaxsnmtc1WThLHEIeEkbjRU6xHuEcnNdvfLyWWyITvVxAdc+FF
xB6u1lTDKEz3hVrUW+1mYFFEwHD5pKGyKF/1x7XxF9E0uZ7WY9P4Y=
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.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*UA:SquirrelMail, H*u:SquirrelMail, H*M:squirrel, H*r:SquirrelMail
X-HELO: www.schneiderp.de
Message-ID: <581103da7715b704f454365749ab3b00.squirrel@mail.schneiderp.de>
In-Reply-To: <1761324316.20170710155536@yandex.ru>
References: <baa3a4f84968dd6aa9869d2c9f58197f DOT squirrel AT mail DOT schneiderp DOT de> <b4de479d-882e-4e61-2916-1b54f318d76c AT gmail DOT com> <ec89b6011aad4b68a294d3f1d462d40b DOT squirrel AT mail DOT schneiderp DOT de> <1761324316 DOT 20170710155536 AT yandex DOT ru>
Date: Mon, 10 Jul 2017 15:41:47 +0200
Subject: Re: Redirection to stderr
From: "Peter Schneider" <cygwin-mailinglist AT schneiderp DOT de>
To: cygwin AT cygwin DOT com
Reply-To: cygwin-mailinglist AT schneiderp DOT de
User-Agent: SquirrelMail/1.4.23 [SVN]
MIME-Version: 1.0
X-IsSubscribed: yes

On Mon, July 10, 2017 14:55, Andrey Repin wrote:
> Greetings, cygwin-mailinglist!
>
>> On Mon, July 10, 2017 12:33, Marco Atzeri wrote:
>>>
>>> On 10/07/2017 11:06, cygwin-mailinglist wrote:
>> [...]
>>>> Rationale aside, it is a bug, isn't it?
>>>
>>> I guess a side effect of a lost race.
>
>> Which race, exactly?
>
> echo aaa > a
> cat a > a

The problem with "cat a > a" is entirely unrelated to "some-cmd
2>/dev/stderr". (Apart from /dev/stderr not being a regular file, some-cmd
does not receive a path argument which it tries to open, the way "cat a"
does.)


--
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