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]


Thanks Earnie. Here are the results of `cygcheck perl'. I should point
out that there was no mixed binmode, textmode when my tests were run.
All the mounts were of the same type and I got the same result. Smell
like a bug. 

RESULTS OF CYGCHECK PERL
------------------------

josh_schulte@EQ5386JS ~> cygcheck perl
Found: C:\cygwin\bin\perl.exe
C:\cygwin\bin\perl.exe
  C:\cygwin\bin\libperl5_6_1.dll
    C:\cygwin\bin\cygwin1.dll
      C:\WINNT\System32\KERNEL32.dll
        C:\WINNT\System32\NTDLL.DLL

Use -h to see help about each section
josh_schulte@EQ5386JS ~>

Thanks again,
Josh

-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd@yahoo.com]
Sent: Wednesday, January 24, 2001 5:20 PM
To: Josh Schulte
Cc: cygwin@cygwin.com
Subject: Re: Bug In Mount?, Was [Odd/New Perl Behavior]

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.

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
> 





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