Mail Archives: cygwin-developers/2001/11/06/18:43:18
This is a multi-part message in MIME format.
--------------3620CD5BC8E0BAA212450D83
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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.
--------------3620CD5BC8E0BAA212450D83
Content-Type: text/plain; charset=us-ascii;
name="pathconv.err.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="pathconv.err.txt"
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
--------------3620CD5BC8E0BAA212450D83--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
- Raw text -