From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28908 invoked by alias); 13 May 2015 23:38:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28896 invoked by uid 89); 13 May 2015 23:38:29 -0000 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 Received: from mail-bl2on0145.outbound.protection.outlook.com (HELO na01-bl2-obe.outbound.protection.outlook.com) (65.55.169.145) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Wed, 13 May 2015 23:38:27 +0000 Authentication-Results: cygwin.com; dkim=none (message not signed) header.d=none; Received: from [10.0.6.3] (38.99.16.109) by CY1PR0501MB1753.namprd05.prod.outlook.com (25.163.140.23) with Microsoft SMTP Server (TLS) id 15.1.160.19; Wed, 13 May 2015 23:38:23 +0000 Message-ID: <5553E06A.70101@coverity.com> Date: Thu, 14 May 2015 00:04:00 -0000 From: Scott McPeak 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: 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@de011521.schaeffler.com> <55525B85.90001@coverity.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit 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: 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 X-SW-Source: 2015-05/txt/msg00152.txt.bz2 > 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