From 05e2666d441a6a6ac99210c98717624c009d8eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 13 Apr 2000 20:43:26 +0200 Subject: [PATCH] Fixed typo in disabled code. Rev: src/modules/Regexp/glue.c:1.16 --- src/modules/Regexp/glue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/Regexp/glue.c b/src/modules/Regexp/glue.c index 1db8a83c62..1954b35105 100644 --- a/src/modules/Regexp/glue.c +++ b/src/modules/Regexp/glue.c @@ -19,7 +19,7 @@ #include "threads.h" #include "module_support.h" -RCSID("$Id: glue.c,v 1.15 1999/11/30 23:04:41 hubbe Exp $"); +RCSID("$Id: glue.c,v 1.16 2000/04/13 18:43:26 grubba Exp $"); #ifdef USE_SYSTEM_REGEXP #include <regexp.h> @@ -104,9 +104,9 @@ static void regexp_match(INT32 args) get_all_args("Regexp.regexp->match", args, "%s", &str); #ifdef USE_SYSTEM_REGEXP - ALLOW_THREADS(); + THREADS_ALLOW(); i = !regexec(regexp, str, 0, NULL, 0); - DISALLOW_THREADS(); + THREADS_DISALLOW(); #else i=pike_regexec(regexp, str); #endif /* USE_SYSTEM_REGEXP */ -- GitLab