This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Perl gets \r in strings even in text mode


Good to know that this is a known bug.

Alternatively, in perl, you can set "binmode" on your file.

    open ( A, ">/tmp/out" );
    binmode ( A );

...alex...


"Gerrit P. Haase" wrote:

> > Reuben Thomas schrieb am 2001-10-16 14:09:
>
> >I'm currently having problems with Perl returning strings with CRLFs in
> >rather than just LFs, even when read in text mode, from a text-mode mount
> >point.
>
> Yes, this is a known bug.  I'm trying to release a new version this week,
> but I cannot say if I will find the bug.
>
> Until it is resolved you will need to use binary mounts, this problem
> exist only on textmounts.
>
> Gerrit
>
> --
> =^..^=
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]