This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [bug-gawk] gawk Regression: CR characters are not stripped on Windows
Andrey Repin <anrdaemon@yandex.ru> wrote:
> Greetings, arnold@skeeve.com!
>
> > Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
>
> >> Hi Arnold,
> >>
> >> 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.
> >>
> >> __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