delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/24/20:24:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A6F7F34.74A1A5BB@yahoo.com>
Date: Wed, 24 Jan 2001 20:19:48 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Josh Schulte <jschulte AT equilibrium DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Bug In Mount?, Was [Odd/New Perl Behavior]
References: <67677D360C1FD411BB4000B0D02080418A5FDB AT eqexchange DOT equildom DOT equilibrium DOT com>

Josh Schulte wrote:
> 
> Reading my previous message below may provide a little more information,
> but basically what is happening is I am getting \r\n at the end of my
> lines in my files wether or not the directory is mounted in textmode or
> binmode. Is there a bug in mount/cygwin?
> 
> Below are a perl script and results to illustrate the problem.
> 
> DOS INSTALL RESULTS
> -------------------
> 
> $ mount
> Device              Directory           Type         Flags
> C:\cygwin\bin       /usr/bin            system       textmode
> C:\cygwin\lib       /usr/lib            system       textmode
> C:\cygwin           /                   system       textmode
> 
> $ ./testperl
> <-*>line one
> <-*>line two
> <-*>line three
> 
> UNIX INSTALL RESULTS
> --------------------
> 
> $ mount
> Device              Directory           Type         Flags
> C:\cygwin\bin       /usr/bin            system       binmode
> C:\cygwin\lib       /usr/lib            system       binmode
> C:\cygwin           /                   system       binmode
> 
-8<-
> 
> C:\development\Tools\win386\..\..  /eq      user    textmode
> C:\cygwin\bin  /usr/bin  system  binmode
> C:\cygwin\lib  /usr/lib  system  binmode
> C:\cygwin  /        system  binmode
> c:    /c       user    textmode
> d:    /d       user    textmode
> 

First, of all when having mixed binmode, textmode I would expect you to
end up with \r\n line endings.

Second, give us the output of `cygcheck perl'.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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