This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
A bug report without a patch so just delete it.
- To: CD List <Cygwin-Developers at Cygwin dot Com>
- Subject: A bug report without a patch so just delete it.
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 06 Nov 2001 18:42:38 -0500
- Reply-To: CD List <Cygwin-Developers at Cygwin dot Com>
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 ;^)
--
Earnie.
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