delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/13/19:38:47

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:date:from:mime-version:to:subject
:in-reply-to:references:content-type:content-transfer-encoding;
q=dns; s=default; b=AZKOw4TSKk87gReHtVK3KLYgq4dYJBLxvpfX12cYCRd
N/qzyMKKVHLIapaTBUceqOy+4D776KkNwy2ORY6Irv0TXO2rfWp2Yj+Si2SvS3kX
2ZUzJKeQSlVcHFnWUTEU9QwNIx/Br95l1SHQTNMR2oOW8P3UJz0qOJS2uZAVMrds
=
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:date:from:mime-version:to:subject
:in-reply-to:references:content-type:content-transfer-encoding;
s=default; bh=GaJmNKKSYGGEEuAdbz/CC7z3ybg=; b=hXQH+s0jM3dPwCuMu
sSKGbSMFuXFTT+auzLb4jctQ6KMGwzz7nb/fzL9mQ0wFGDZP2WqgdkiScbNvb9pO
Jwy8PhJ1O5SVTpV8/FwHVyDrsc0SKbKyaoSF2MfqegBlQ1lokXrBCRtO36agv+PZ
JsZgqCCGxmY1qKoGmSHnc13QT0=
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.7 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: na01-bl2-obe.outbound.protection.outlook.com
Authentication-Results: cygwin.com; dkim=none (message not signed) header.d=none;
Message-ID: <5553E06A.70101@coverity.com>
Date: Wed, 13 May 2015 16:38:18 -0700
From: Scott McPeak <smcpeak AT coverity DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: RE: cygwin 2.0.2, make 4.1: stderr redirect append does not work with native Windows programs
In-Reply-To: <33EC3398272FBE47B64EE3B3E98F69A76C42903B@de011521.schaeffler.com>
References: <33EC3398272FBE47B64EE3B3E98F69A76C42903B AT de011521 DOT schaeffler DOT com> <55525B85 DOT 90001 AT coverity DOT com>
X-ClientProxiedBy: BLUPR03CA007.namprd03.prod.outlook.com (10.255.124.24) To CY1PR0501MB1753.namprd05.prod.outlook.com (25.163.140.23)
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1753;
X-Microsoft-Antispam-PRVS: <CY1PR0501MB175311322DD254526C1B2BD7DED90 AT CY1PR0501MB1753 DOT namprd05 DOT prod DOT outlook DOT com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR0501MB1753;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1753;
X-Forefront-PRVS: 0575F81B58
X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(6049001)(51704005)(23676002)(2950100001)(77096005)(62966003)(77156002)(83506001)(450100001)(40100003)(64126003)(110136002)(50466002)(19580395003)(122386002)(5001960100002)(107886002)(36756003)(2351001)(92566002)(189998001)(87976001)(65816999)(5890100001)(50986999)(54356999)(76176999)(47776003)(66066001)(65956001)(65806001)(4001350100001)(81156007)(86362001)(46102003)(33656002)(42186005)(7099028)(460985005)(2480315003)(19627235001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0501MB1753;H:[10.0.6.3];FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
X-OriginatorOrg: coverity.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2015 23:38:23.0696 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1753

 > Just a wild guess here: line endings?  Try
 >
 > make 2>&1 | cat -A
 >
 > and see if everything's there.

This is of course easy for anyone to try using the reproducer I attached:

   $ make 2>&1 | cat -A
   echo first > output$
   echo secondxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> 
output$
   /cygdrive/c/Windows/System32/sort.exe nonexist 2>> output; true$
   ----- BEGIN output -----$
   nonexistThe system cannot find the file specified.^M^M$
   xxxxxxxxxxxxxx$
   ----- END output -----$

The output is still wrong.

-Scott

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