X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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.squirrel@mail.schneiderp.de>    <b4de479d-882e-4e61-2916-1b54f318d76c@gmail.com>    <ec89b6011aad4b68a294d3f1d462d40b.squirrel@mail.schneiderp.de>    <1761324316.20170710155536@yandex.ru>
Date: Mon, 10 Jul 2017 15:41:47 +0200
Subject: Re: Redirection to stderr
From: "Peter Schneider" <cygwin-mailinglist@schneiderp.de>
To: cygwin@cygwin.com
Reply-To: cygwin-mailinglist@schneiderp.de
User-Agent: SquirrelMail/1.4.23 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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

