This is the mail archive of the cygwin@sources.redhat.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: Bug In Mount?, Was [Odd/New Perl Behavior]


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


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