From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6550 invoked by alias); 5 Mar 2018 22:34:17 -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 6542 invoked by uid 89); 5 Mar 2018 22:34:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gproxy9-pub.mail.unifiedlayer.com Received: from gproxy9-pub.mail.unifiedlayer.com (HELO gproxy9-pub.mail.unifiedlayer.com) (69.89.20.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Mar 2018 22:34:15 +0000 Received: from cmgw2 (unknown [10.0.90.83]) by gproxy9.mail.unifiedlayer.com (Postfix) with ESMTP id 83FCF1E07C2 for ; Mon, 5 Mar 2018 15:34:13 -0700 (MST) Received: from box867.bluehost.com ([69.195.124.67]) by cmgw2 with id JNaA1x00H1TMts501NaDuV; Mon, 05 Mar 2018 15:34:13 -0700 X-Authority-Analysis: v=2.2 cv=M5g9E24s c=1 sm=1 tr=0 a=x/h8IXy5FZdipniTS+KQtQ==:117 a=x/h8IXy5FZdipniTS+KQtQ==:17 a=IkcTkHD0fZMA:10 a=v2DPQv5-lfwA:10 a=p8hWPCrPAAAA:8 a=w_pzkKWiAAAA:8 a=hlZ3qncoBBpGv-7Ng7oA:9 a=QEXdDO2ut3YA:10 a=hdUzUiK6lsseaELp4_5Y:22 a=sRI3_1zDfAgwuvI8zelB:22 Received: from 99-106-192-34.lightspeed.ftwotx.sbcglobal.net ([99.106.192.34]:58864 helo=[192.168.1.89]) by box867.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1esygL-0000Lo-Vw for cygwin@cygwin.com; Mon, 05 Mar 2018 15:34:10 -0700 From: Vince Rice Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows Date: Tue, 06 Mar 2018 00:33:00 -0000 References: <201803051336.w25Da6xe018344@freefriends.org> <20180305140016.GA25306@calimero.vinschen.de> <201803051414.w25EEKCP021833@freefriends.org> <5310615097.20180305235805@yandex.ru> To: The Cygwin Mailing List In-Reply-To: <5310615097.20180305235805@yandex.ru> Message-Id: X-BWhitelist: no X-Exim-ID: 1esygL-0000Lo-Vw X-Source-Sender: 99-106-192-34.lightspeed.ftwotx.sbcglobal.net ([192.168.1.89]) [99.106.192.34]:58864 X-Source-Auth: vrice@solidrocksystems.com X-Email-Count: 1 X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00080.txt.bz2 > On Mar 5, 2018, at 2:58 PM, Andrey Repin wrote: >=20 > Greetings, >=20 >> Corinna Vinschen wrote: >>=20 >>> Hi Arnold, >>>=20 >>> On Mar 5 06:36, arnold@skeeve.com wrote: >>>> Is there a way to distinguish cygwin from msys at compile time? >>>> I would not object to restoring the behavior for msys only. >>>=20 >>> __MSYS__ vs. __CYGWIN__ >>>=20 >>>=20 >>> Corinna >>=20 >> Excellent. I will probably do that, soon. >=20 > Keep in mind that you should avoid relying on __CYGWIN__ if possible. > Only if certain POSIX mandated functionality could not be implemented at = all > using WinAPI you may go for this macro to work around compatibility issue= s. https://cygwin.com/acronyms/#PCYMTNQREAIYR (see above, which wasn=E2=80=99t redacted in your reply). (And Arnold, you did the same thing with Corinna=E2=80=99s email address.) Keep in mind that it was Corinna answering the question. Given the subject = of this discussion, and that Corinna gave the answer, he doesn=E2=80=99t really nee= d to =E2=80=9Cavoid relying on __CYGWIN__=E2=80=9D. -- 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