Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39F454C8.14003F89@techspan.com>
Date: Mon, 23 Oct 2000 11:10:00 -0400
From: Mark Swanson <Mark.Swanson@techspan.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@yahoo.com>
CC: "Charles S. Wilson" <cwilson@ece.gatech.edu>, cygwin@sourceware.cygnus.com
Subject: Re: Bug report: with CVS
References: <20001023142004.17298.qmail@web122.yahoomail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

