delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/11/06/18:58:07

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 6 Nov 2001 18:58:44 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-Developers AT cygwin DOT Com
Subject: Re: A bug report without a patch so just delete it.
Message-ID: <20011106185844.A7469@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT Com
Mail-Followup-To: cygwin-Developers AT cygwin DOT Com
References: <3BE8756E DOT ABF0CA02 AT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <3BE8756E.ABF0CA02@yahoo.com>
User-Agent: Mutt/1.3.21i

On Tue, Nov 06, 2001 at 06:42:38PM -0500, Earnie Boyd wrote:
>I've found an instance of where the path conversion routines fail.  I've
>attached a relevant portion of an strace. The command
>   cvs commit -m"foo" -r cygwin-binutils-2_11-20011002-1
>fails with an error
>   cvs commit: in directory doc
>   cvs [commit aborted]: there is no version here; do 'cvs checkout'
>first
>which happens because cvs's filesubr.c doesn't stat doc as a dir because
>the path conversion routines have added and extra subdir doc/doc/.
>
>I should add that specifying doc on the command line gives good
>results.  This also occurred in the previous release in case your
>interested so I guess I won't fall back to 1.3.3 ;^)

Did you notice that the current working directory is
  /usr/src/binutils/2.11/1/bfd/doc

and you're trying to open a file called

  doc/CVS/Repository

?

So, either cvs is confused, your your directory layout is garbled, or you
didn't actually include the relevant part of the strace which would
indicate where this was actually screwing up in cygwin.

cgf

>5479 12014973 [main] cvs 325 _open: open (doc/CVS/Repository, 0x0)^M
>  137 12015110 [main] cvs 325 normalize_posix_path: src doc/CVS/Repository^M
>  104 12015214 [main] cvs 325 cwdstuff::get: posix /usr/src/binutils/2.11/1/bfd/doc^M
>  101 12015315 [main] cvs 325 cwdstuff::get: (/usr/src/binutils/2.11/1/bfd/doc) = cwdstuff::get (0x255F484, 260, 1, 0), errno 2^M
>  104 12015419 [main] cvs 325 normalize_posix_path: /usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository = normalize_posix_path (doc/CVS/Repository)^M
>  106 12015525 [main] cvs 325 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository)^M
>  116 12015641 [main] cvs 325 mount_info::conv_to_win32_path: src_path /usr/src/binutils/2.11/1/bfd/doc/doc/CVS/Repository, dst c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\doc\CVS\Repository, flags 0xA, rc 0^M
>  524 12016165 [main] cvs 325 symlink_info::check: GetFileAttributesA (c:\cygmnt\usr\src\binutils\2.11\1\bfd\doc\doc\CVS\Repository) failed^M
>


-- 
cgf AT redhat DOT com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

- Raw text -


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