delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/23/11:20:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <C2D7D58DBFE9D111B0480060086E96350689BB9B@mail_server.gft.com>
From: =?iso-8859-1?Q?=22Schaible=2C_J=F6rg=22?= <Joerg DOT Schaible AT gft DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: perl & textmode mounts
Date: Wed, 23 Jan 2002 17:19:46 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g0NGKYI00570

Hi Gerrit,

>This will be resolved in the next Perl release (5.8) where 
>Perl uses its 
>own IO (perlio).

Ahhh, fine.

>> a trailing \cM. My perl script itself is in a directory mounted in
>> textmode.
>
>Please use binmode for the files (scripts) and the mounts.

OK.

>binmode() is not ignored on Cygwin.  Cygwin is not Win32!
>Basically spoken: Perl on Cygwin works only correct if the 
>files you are 
>working with are in binmode and if you do it on binmode mounts.
>E.g. pod2html fails on textmode pods, regardless which type 
>the mounts are.

The doc gave the impression using ":crlf" would force textmode. 
OTOH: Cygwin != win32 ==> no crlf in textmode <gg>

>Huh?  I thought there are some problems using CVS with 
>textmode files, but 
>not with binmode?
Have it all day for both mount types with no problems at all. But you have
to kept your own repository in binary mounted location. For remote
repositories is also no problem (at least for me).

>>Since the Perl sources are quite big - has anybody a clue 
>where to start looking 
>>for this bug ?
>
>Hmmm, there is this flag in perl.h, look for CYGWIN in perl.h, 
>I tried to 
>debug why it doesn't work as expected, but I didn't found the bug :(

So, since the problem currently just arises for prining the usage, it is not
*that* urgent. Especially if 5.8 will resolve the issue.

Regards,
Jörg

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019