delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/05/23:04:01

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:message-id:date:to:subject:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=ZVfQVKQKBawtcZpz
Y62JjGYEDZC4dsedHV+4JTpBRozEEPNCPa5B9+k/S9unRkzAEX+J67wyyURisggQ
6VHBFmEVJzRdeIQBY3i7B1DxJoH3bw9j6aRTkY/uxt2MYRX2upV5syW5m98sFedv
tYUOqGJZ0rvGe5NYCnDIcmotmes=
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:message-id:date:to:subject:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=5bs1sr6OyZ6TXAvt17CE+/
DqKKA=; b=UeGQTZYShU5XWRVall2q6cua4+YQGm7wrQrtFKw7gU4y4gQ3rVajb/
owwZWc4j2wh8epCSyyyjfx8y0LInscjHrPxAl3svd2AHnq9YkDjWXfI6Ghs1hM7q
a6jJO1dr5sWHLWAY55dtqsNAh5PoN7fXftc+FdM9Y0fBcC5uQiPeU=
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=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=D*ru
X-HELO: freefriends.org
X-Envelope-From: arnold AT skeeve DOT com
From: arnold AT skeeve DOT com
Message-Id: <201803060358.w263wSEL001406@freefriends.org>
Date: Mon, 05 Mar 2018 20:58:28 -0700
To: cygwin AT cygwin DOT com, arnold AT skeeve DOT com
Subject: Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows
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>
In-Reply-To: <5310615097.20180305235805@yandex.ru>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0

Andrey Repin <anrdaemon AT yandex DOT ru> wrote:

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

I don't think it's a problem; I am testing for MSYS.  The change
is now in git in posix/gawkmisc.c.

Thanks,

Arnold

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