This is the mail archive of the
mailing list for the Cygwin project.
Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows
Andrey Repin <firstname.lastname@example.org> wrote:
> Greetings, email@example.com!
> > Corinna Vinschen <firstname.lastname@example.org> wrote:
> >> Hi Arnold,
> >> On Mar 5 06:36, email@example.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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple