changeset 103104:2380af35be5c

(init_atimer): Also clear stopped_atimers.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 29 Apr 2009 03:48:38 +0000
parents 4a7a1526ee6d
children f09e430f8c38
files src/atimer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/atimer.c	Wed Apr 29 03:13:37 2009 +0000
+++ b/src/atimer.c	Wed Apr 29 03:48:38 2009 +0000
@@ -452,7 +452,7 @@
 void
 init_atimer ()
 {
-  free_atimers = atimers = NULL;
+  free_atimers = stopped_atimers = atimers = NULL;
   pending_atimers = 0;
   /* pending_signals is initialized in init_keyboard.*/
   signal (SIGALRM, alarm_signal_handler);