Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BCC8B4A.39C10B68@airflash.com>
Date: Tue, 16 Oct 2001 12:32:26 -0700
From: "Alex Tang" <altitude@airflash.com>
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: rrt@dcs.gla.ac.uk
Subject: Re: Perl gets \r in strings even in text mode
References: <3BCC6296.17422.7AB6E6@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/

