This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug report: with CVS


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@192.168.10.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]