delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/17/14:58:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 17 Nov 2003 14:58:21 -0500
From: "Shaffer, Kenneth" <shaffek AT sciatl DOT com>
X-X-Sender: shaffek AT Crunch DOT bcgssbd DOT sciatl DOT com
Reply-To: kenneth DOT shaffer AT sciatl DOT com
To: cygwin AT cygwin DOT com
Subject: Re: cvs complains of no repository (solved)
In-Reply-To:
<9432DC686035824B8CEE5FC8B1324D560101903F AT sausatlmex03 DOT sciatl DOT com>
Message-ID: <Pine.CYG.4.58.0311171454440.1260@Crunch.bcgssbd.sciatl.com>
References:
<9432DC686035824B8CEE5FC8B1324D5601019030 AT sausatlmex03 DOT sciatl DOT com>
<9432DC686035824B8CEE5FC8B1324D560101903F AT sausatlmex03 DOT sciatl DOT com>
MIME-Version: 1.0

Well,

Skip the below patch.  Pete Stieber suggested I check my mounts that they
are text mode.  Sure enough, the mount point for the filesystem containing
my local CVS directory was in bin mode.  After mounting in text mode, all
works fine.  (mount -t E: /e for example).

Might be useful to have this in the CVS FAQ if there is one.

--
Ken Shaffer


On Thu, 13 Nov 2003, Shaffer, Kenneth wrote:

> I looked further into this and think the problem is due to the fact
> that the 1.10 version I was using was strictly Windows-based and so
> whenever a CVS/Root file was created it had the <CR><LF> for the end of
> line. Then when I used the cygwin version I had trouble.
>
> The following patch fixed the problem I was having (feel free to make it
> better):
>
> diff -w -urN cvs-1.11.6-3-orig/src/root.c cvs-1.11.6-3-plus/src/root.c
> --- cvs-1.11.6-3-orig/src/root.c        2003-02-28 18:11:36.000000000
> -0500
> +++ cvs-1.11.6-3-plus/src/root.c        2003-11-13 10:20:32.746353600
> -0500
> @@ -660,6 +660,10 @@
>
>      /* Hooray!  We finally parsed it! */
>      free (cvsroot_save);
> +    if ((p = strrchr (newroot->directory, '\r')) != NULL)
> +       *p = '\0';
> +    if ((p = strrchr (newroot->directory, '\n')) != NULL)
> +       *p = '\0';
>      return newroot;
>
>  error_exit:
>
>
> --
> Ken Shaffer
>
>


     - - - - - - -  Appended by Scientific-Atlanta, Inc.  - - - - - - -  
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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