[OpenAFS] OpenAFS 2.11 on SuSE 8.2

Jan Hrabe hrabe@mail.magalien.com
Tue, 13 Jan 2004 00:01:35 -0500


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.

Jan Hrabe

> --- 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;
>  	}