delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/03/15:12:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 3 Jun 2004 15:13:05 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Cc: Jacek Trzmiel <sc0rp AT hot DOT 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 DOT 2C4AB5AF AT hot DOT pl> <40BF649B DOT DF23035 AT hot DOT pl>
Mime-Version: 1.0
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/

- Raw text -


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