delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/05/16:05:55

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=cnpgAy1RbJZED3aU
rclpxSFm43N5jZSGDfURCb82J4H6vpcESfTW50hMApx0nx1s+W4zQcitA370znfG
z4nXucdxub4ER+aj5sisBeT1XIG3FiJQj78ofLRLraF4qyMOGDFqxKPjN+1pLF+w
3OpK9ItbhVtDPDEkBOtnmSuHYqE=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=P5GxhWz3Gfpob1Bcc1ar86
FjxB8=; b=hQUzXUXFB0ygUAX9Hgcehi5L+cpKnJHhyPOLyPXSPBw/y0KEdSSz1t
LcinQSijTgoH1DC1XpPm8UFudG23ZO4eBCoBW6RAMMCEcG6+ns2zGsy3v/6tU1AN
SXxo66V3N5uRIpy05Jt2H34wpEtZVAXFiIR5HMaPyDJNqykMuJdfE=
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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, H*r:build, yandexru
X-HELO: forward106o.mail.yandex.net
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 5 Mar 2018 23:58:05 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <5310615097.20180305235805@yandex.ru>
To: arnold AT skeeve DOT com, cygwin AT cygwin DOT com
Subject: Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows
In-Reply-To: <201803051414.w25EEKCP021833@freefriends.org>
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>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, arnold AT skeeve DOT com!

> Corinna Vinschen <corinna-cygwin AT cygwin DOT com> 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
>>
>> -- 
>> Corinna Vinschen                  Please, send mails regarding Cygwin to
>> Cygwin Maintainer                 cygwin AT cygwin DOT com
>> Red Hat

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


-- 
With best regards,
Andrey Repin
Monday, March 5, 2018 23:56:14

Sorry for my terrible english...


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