Subject: Re: cvs checkout fails in directory that can be accessed via both textmode and binmode mounts
From: "Pierre A. Humblet" <[email-masked]>
To: [email-masked]
Cc: Jacek Trzmiel <[email-masked]>
Date: Thu, 3 Jun 2004 15:13:05 -0400

On Thu, Jun 03, 2004 at 07:49:15PM +0200, Jacek Trzmiel wrote:
> 
> Jacek Trzmiel wrote:
> > $ mkdir /testmnt/cygwin/test
> > $ cd /testmnt/cygwin/test
<snip>
> 
> 20040530 snapshot:
> Same command run as above, but preceded by strace:
> $ strace cvs -d /testmnt/cvsrep co prj
> 
> Checkout does work like in 1.5.10-3 version (no errors displayed, unix
> endlines in all files).  Heisenbug?

In fact that's normal. When cygwin starts under strace it only knows
the Windows current directory. In your (strange) environment, that directory
can be mapped to two different Posix directories, one in bin mode and
one in text mode. Cygwin doesn't know which one you mean to be in.

Please try 
cd /
strace -o trace.txt sh -c "cd /testmnt/cygwin/test; cvs something"
choosing a "something" that displays the problem without
generating a huge trace.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/