delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/23/11:11:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39F454C8.14003F89@techspan.com>
Date: Mon, 23 Oct 2000 11:10:00 -0400
From: Mark Swanson <Mark DOT Swanson AT techspan DOT com>
Organization: Techspan
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-win4lin i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
CC: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Bug report: with CVS
References: <20001023142004 DOT 17298 DOT qmail AT web122 DOT yahoomail DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019