[OpenAFS] OpenAFS 2.11 on SuSE 8.2

Derrick J Brashear shadow@dementia.org
Tue, 13 Jan 2004 00:04:00 -0500 (EST)


On Tue, 13 Jan 2004, Jan Hrabe wrote:

> It seems that the patch for 2.10 by V. Nadvornik (see below) hasn't been
> applied yet so the server programs of OpenAFS 2.11 would not run on SuSE
> 8.2.  The patch fixes it.

1.2.11. My recollection is it was applied only to the 1.3 branch, and we
pulled up only a bare minimum of fixes for 1.2.11, because doing a lot of
testing would have sucked.

> > --- src/lwp/lwp.c
> > +++ src/lwp/lwp.c
> > @@ -327,7 +327,7 @@
> >  	}
> >  	stackptr -= stacksize;
> >  #else
> > -	if ((stackptr = (char *) malloc(stacksize)) == NULL) {
> > +	if ((stackptr = (char *) malloc(stacksize + 8)) == NULL) {
> >  	    Set_LWP_RC();
> >  	    return LWP_ENOMEM;
> >  	}