Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 3 Jun 2004 15:13:05 -0400
From: "Pierre A. Humblet" <pierre.humblet@ieee.org>
To: cygwin@cygwin.com
Cc: Jacek Trzmiel <sc0rp@hot.pl>
Subject: Re: cvs checkout fails in directory that can be accessed via both textmode and binmode mounts
Message-ID: <20040603191305.GB246877@Worldnet>
References: <40BE0711.2C4AB5AF@hot.pl> <40BF649B.DF23035@hot.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <40BF649B.DF23035@hot.pl>
User-Agent: Mutt/1.4.1i

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/

