delorie.com/archives/browse.cgi | search |
Earnie Boyd wrote: > Your problem is most likely \r\n related. See below for more info. > > The variables both use the /cygdrive pseudo mount which > > HOME = `/cygdrive/c/devsource' > > TEMP = `/cygdrive/c/windows/temp' > from the entry in the registry > > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 > > (default) = `/cygdrive' > > cygdrive flags = 0x00000020 > indicates that you have as text mode while > > C:\cygwin\bin /usr/bin user binmode > > C:\cygwin\lib /usr/lib user binmode > > C:\cygwin / user binmode > are in binary mode processing. > > To fix this problem, the command > mount -b --change-cygdrive-prefix /cygdrive > will cause /cygdrive to process files in binary mode by default. Thanks for the suggestion, but CVS still doesn't work. Here's what I did: MSWANSON:g> mount -b --change-cygdrive-prefix /cygdrive MSWANSON:g> cd //c/ MSWANSON:c> cd devsource/ MSWANSON:devsource> ls ./ .bash_history .bash_profile~ .viminfo clustertest/ ../ .bash_profile .cvspass .vimrc m MSWANSON:devsource> cd clustertest/ MSWANSON:clustertest> cvs update -d DuplicateHandle failed Win32 error 6cvs update: authorization failed: server 192.168.10.220 rejected access MSWANSON:clustertest> cvs login (Logging in to mswanson AT 192 DOT 168 DOT 10 DOT 220) CVS password: DuplicateHandle failed Win32 error 6MSWANSON:clustertest> MSWANSON:clustertest> cvs update -d DuplicateHandle failed Win32 error 6 0 [main] CVS 1015 fhandler_base::dup: dup(/dev/tcp) failed, handle 26D8, Win32 error 6 cvs [update aborted]: cannot dup net connection: Bad file number MSWANSON:clustertest> I'm ready to try just about anything... BTW, why does the number 6 appear (randomly?) above? Thanks. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |