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


Well, I'm stumped.  Please try the following, but I'm not confident they
will 'fix' it:

1) use a different server.  Try 
   export CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
   cvs login   <use 'anoncvs' as password>
   cvs co naked-intl    <very small; shouldn't take too long>

Works? Then your problem is the server at 192.168.10.220
Doesn't work?  Try

2) install cvs-1.11.0 test release
(http://cygutils.netpedia.net/V1.1/test/cvs-1.11.0-1.tar.gz)
   try your 192.168.10.220 repository....

Works? Then the problem was cvs-1.10.8
Doesn't work?  Try

3) do step #1 above, again, but this time with cvs-1.11.

Works? Then the problem was cvs-1.10.8 + your local server.
Doesn't work? .... ????????

--Chuck

P.S. What version of cvs is running on 192.168.10.220? What platform is
that machine?


Mark Swanson wrote:
> 
> 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]