emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Bug in src/atimer.c


From: Stefan Monnier
Subject: Re: Bug in src/atimer.c
Date: Tue, 29 Nov 2005 17:37:12 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I think that src/atimer.c has a bug in stop_other_atimers().
> This should fix it. I also changed 0 to NULL to make it similar
> to a loop in cancel_atimer().

Thanks, I installed your patch.


        Stefan


> --- src/atimer.c.orig 2005-11-27 16:57:35.000000000 +0200
> +++ src/atimer.c      2005-11-27 16:58:10.000000000 +0200
> @@ -231,7 +231,7 @@ stop_other_atimers (t)
>        struct atimer *p, *prev;

>        /* See if T is active.  */
> -      for (p = atimers, prev = 0; p && p != t; p = p->next)
> +      for (p = atimers, prev = NULL; p && p != t; prev = p, p = p->next)
>       ;

>        if (p == t)


> _______________________________________________
> emacs-pretest-bug mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug




reply via email to

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