From dc731d3e801762a5479ef63e1bfe99cc8148b1b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Sat, 19 Jun 1999 12:57:31 -0700
Subject: [PATCH] bugfix

Rev: lib/modules/Thread.pmod:1.14
Rev: src/docode.c:1.48
---
 lib/modules/Thread.pmod | 2 +-
 src/docode.c            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/modules/Thread.pmod b/lib/modules/Thread.pmod
index 43249c8a5c..41fa67c247 100644
--- a/lib/modules/Thread.pmod
+++ b/lib/modules/Thread.pmod
@@ -47,7 +47,7 @@ class Fifo {
       ptr=num=0;
       buffer=allocate(sizeof(buffer)); // Throw away any references.
     }
-    w_cond::signal();
+    w_cond::broadcast();
     return ret;
   }
   
diff --git a/src/docode.c b/src/docode.c
index 2414c084c6..439423e87d 100644
--- a/src/docode.c
+++ b/src/docode.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: docode.c,v 1.47 1999/04/30 07:24:06 hubbe Exp $");
+RCSID("$Id: docode.c,v 1.48 1999/06/19 19:57:31 hubbe Exp $");
 #include "las.h"
 #include "program.h"
 #include "language.h"
@@ -563,7 +563,7 @@ static int do_docode2(node *n,int flags)
 	a1[0]->type == int_type_string)
       {
 	tmp2=do_docode(CAR(arr),DO_NOT_COPY);
-	do_docode(&a1,DO_NOT_COPY);
+	do_docode(*a1,DO_NOT_COPY);
 	goto foreach_arg_pushed;
       }
     }
-- 
GitLab