*BSD News Article 15252


Return to BSD News archive

Xref: sserve comp.os.386bsd.apps:178 comp.os.386bsd.bugs:587
Newsgroups: comp.os.386bsd.apps,comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!think.com!cass.ma02.bull.com!melb.bull.oz.au!sjg
From: sjg@melb.bull.oz.au (Simon J Gerraty)
Subject: Re: cvs-1.3 is locking up
Message-ID: <1993Apr27.232720.16472@melb.bull.oz.au>
Organization: Bull HN Information Systems Australia
References: <C60ynC.BJF@ns1.nodak.edu>
Date: Tue, 27 Apr 1993 23:27:20 GMT
Lines: 32

In <C60ynC.BJF@ns1.nodak.edu> ortmann@plains.NoDak.edu (Daniel Ortmann) writes:
>I've used cvs on SunOS, but it is just locking up on 386bsd (no, not
>because of logging in as root).  This is a bit of a new game to me, so
>would some kind soul offer help through e-mail?

There is a bug in the signal handling code which causes it to
loop forever!
Here is the fix.

*** lib/sighandle.c.~1~ Wed Apr  1 07:55:14 1992
--- lib/sighandle.c     Tue Apr 20 19:42:41 1993
***************
*** 112,118 ****
  
  #ifdef POSIX
        (void) sigfillset(&sigset_test);
!       for (i = 1; sigismember(&sigset_test, i) == 1; i++)
                ;
        if (i < SIGMAX)
                i = SIGMAX;
--- 112,118 ----
  
  #ifdef POSIX
        (void) sigfillset(&sigset_test);
!       for (i = 1; i <= SIGMAX && sigismember(&sigset_test, i) == 1; i++)
                ;
        if (i < SIGMAX)
                i = SIGMAX;
-- 
Simon J. Gerraty        <sjg@zen.void.oz.au>            (home)

#include <disclaimer>   /* imagine something *very* witty here */