[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: core dump error

From: Larry Jones
Subject: Re: core dump error
Date: Thu, 9 May 2002 14:11:26 -0400 (EDT)

Sarah Thompson writes:
> I'm
> >still having a problem with cvs1.11.2 on Solaris 6.  I know it's fixed
> >in the rpm's for linux...but for Solaris I installed from the tar ball
> >off of cvshome page.  This is the error
> >$HOME/.cvspass doesn't exist
> >    resulting in a core dump...I can obviously touch the file and fix
> >the problem...but I didn't know if you had a better solution.

Mea culpa.  I thought I had fixed that problem, but not quite.  I've
checked in the fix, here's a patch for those who want it:

diff -u -r1.67 login.c
--- login.c     6 Sep 2001 16:18:29 -0000       1.67
+++ login.c     9 May 2002 18:08:43 -0000
@@ -313,6 +313,8 @@
        error (1, 0, "CVSROOT: %s", root->original);
+    cvsroot_canonical = normalize_cvsroot (root);
     /* Yes, the method below reads the user's password file twice when we have
      * to delete an entry.  It's inefficient, but we're not talking about a 
gig of
      * data here.
@@ -325,8 +327,6 @@
        error (0, errno, "warning: failed to open %s for reading", passfile);
        goto process;
-    cvsroot_canonical = normalize_cvsroot (root);
     /* Check each line to see if we have this entry already. */
     line = 0;

-Larry Jones

Summer vacation started!  I can't be sick! -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]