On Mon, 10 Jul 2006 17:04:22 +0100
"Dermot Paikkos" <[EMAIL PROTECTED]> wrote:

> The patch seems incomplete? Was is really meant to end without 
> closing the comment?

The patch just shows the differences, denoted by '-' and '+', between
the original and the new version of the file. It does not show the
whole file since only one line has changed. The rest of the code you
see (the 3 lines above and below the change) just put the changed line
in context. See `man diff` and `man patch` for details.

> ===== 6003_all_alpha-glibc-2.3.5-linuxthreads.patch ======
> --- linuxthreads/manager.c
> +++ linuxthreads/manager.c
> @@ -971,7 +971,7 @@
>    pid_t pid;
>    int status;
>  
> -  while ((pid = waitpid_not_cancel(-1, &status, WNOHANG | __WCLONE)) > 0) {
> +  while ((pid = wait3(&status, WNOHANG | __WCLONE, NULL)) > 0 ) {
>      pthread_exited(pid);
>      if (WIFSIGNALED(status)) {
>        /* If a thread died due to a signal, send the same signal to
> ==============
 
> Is that all there was in the file? And just to make life more 
> interesting I can't find a manager.c on my system. That is the file 
> the patch is intended for isn't it?

The file, manager.c, is part of linuxthreads. The source code is
available here: http://ftp.gnu.org/gnu/glibc/ Using the patch involves
compiling from source and installing a vital system package. If you are
not comfortable upgrading to a 2.6 kernel on this machine, then I would
strongly advise you to wait until the issue is fixed in an official
debian package.

Good Luck!
--
Thomas Cort <[EMAIL PROTECTED]>
Gentoo/Alpha Developer

Attachment: pgpx4JOlN5rEJ.pgp
Description: PGP signature

Reply via email to