delorie.com/archives/browse.cgi | search |
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:from:content-type:content-transfer-encoding | |
:mime-version:subject:date:references:to:in-reply-to:message-id; | |
q=dns; s=default; b=NIaZdV5kSkyG8uk1zx2KJ3rKc1WchYGFr3irvcltmRJ | |
sPNw3M+m1+bf/rLxsEsYDYvzCTEnrJkszVSnttkKDttm6DL7uP9+8Q7tWo7gvHFy | |
bjKciWMOc2YqsAmVjsjF4Ecox176GD853EnMpPgQWmNXjab+S7q+VsYEUGQ1jyPc | |
= | |
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:from:content-type:content-transfer-encoding | |
:mime-version:subject:date:references:to:in-reply-to:message-id; | |
s=default; bh=u175/IlQ1IqxsX5aVXQFnqUgTuo=; b=epMwYcLOx//0xKlT2 | |
4Z2YH0M9IXVsC3SwxuYOuVZtdR0Jx6RVPQeKQ+nch/QzcSjXGgrco/v1qJ4qfZOL | |
CCa0vMbu2K1+H9AWYEbmiB7D99l1RxX6PkEHaw27GxHvkCdkU61FXmv0E5W545ud | |
2xl/6haRTr9mhJbvEHEW/CLgpo= | |
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.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 |
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 |
From: | Vince Rice <vrice AT solidrocksystems DOT com> |
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: | Mon, 5 Mar 2018 16:34:08 -0600 |
References: | <CAGHpTB+bfbts=fOBSQPN7c-NDh8FTXR+EauhDhiVrqbgawcYoA AT mail DOT gmail DOT com> <201803051336 DOT w25Da6xe018344 AT freefriends DOT org> <20180305140016 DOT GA25306 AT calimero DOT vinschen DOT de> <201803051414 DOT w25EEKCP021833 AT freefriends DOT org> <5310615097 DOT 20180305235805 AT yandex DOT ru> |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
In-Reply-To: | <5310615097.20180305235805@yandex.ru> |
Message-Id: | <C0A544C7-D8C8-420D-A12F-21DBA97F725E@solidrocksystems.com> |
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 AT solidrocksystems DOT com |
X-Email-Count: | 1 |
X-Source-Cap: | c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ== |
X-Local-Domain: | yes |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id w25MYQu5028990 |
> On Mar 5, 2018, at 2:58 PM, Andrey Repin wrote: > > Greetings, <redacted> > >> Corinna Vinschen wrote: >> >>> Hi Arnold, >>> >>> On Mar 5 06:36, arnold AT skeeve DOT 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. >>> >>> __MSYS__ vs. __CYGWIN__ >>> >>> >>> Corinna >> >> Excellent. I will probably do that, soon. > > 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 issues. https://cygwin.com/acronyms/#PCYMTNQREAIYR (see <redacted> above, which wasn’t redacted in your reply). (And Arnold, you did the same thing with Corinna’s 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’t really need to “avoid relying on __CYGWIN__”. -- 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
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |