From 35b7ed5f10ca080ee0f52ca36214b0d4d0dfd1a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Fri, 15 Jan 1999 17:32:06 -0800
Subject: [PATCH] fixed a typo

Rev: src/signal_handler.c:1.101
---
 src/signal_handler.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/signal_handler.c b/src/signal_handler.c
index d2b5fefd79..b188c11f6c 100644
--- a/src/signal_handler.c
+++ b/src/signal_handler.c
@@ -23,7 +23,7 @@
 #include "builtin_functions.h"
 #include <signal.h>
 
-RCSID("$Id: signal_handler.c,v 1.100 1999/01/08 07:08:12 hubbe Exp $");
+RCSID("$Id: signal_handler.c,v 1.101 1999/01/16 01:32:06 hubbe Exp $");
 
 #ifdef HAVE_PASSWD_H
 # include <passwd.h>
@@ -121,7 +121,8 @@ struct wait_data {
 };
 
 static volatile struct wait_data wait_buf[WAIT_BUFFER];
-static volatile int firstwait=0, lastwait=0;
+static volatile int firstwait=0;
+static volatile int lastwait=0;
 
 #endif /* ! NT */
 
@@ -587,7 +588,7 @@ static void f_pid_status_wait(INT32 args)
 	key.type=T_INT;
 	key.u.integer=pid;
 	s=low_mapping_lookup(pid_mapping, &key);
-	if(s && s->type == T_OBJECT || s->u.object == fp->current_object)
+	if(s && s->type == T_OBJECT && s->u.object == fp->current_object)
 	{
 	  errorcount++;
 	  if(errorcount==50)
-- 
GitLab