From d2871ac82955cf0b901a6916da1f8ff66cd8fd72 Mon Sep 17 00:00:00 2001 From: oes Date: Sun, 9 Sep 2001 21:41:57 +0000 Subject: [PATCH] Fixing yet another silly bug --- pcrs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pcrs.c b/pcrs.c index 1a000253..c2a4945e 100644 --- a/pcrs.c +++ b/pcrs.c @@ -1,4 +1,4 @@ -const char pcrs_rcs[] = "$Id: pcrs.c,v 1.12 2001/08/18 11:35:00 oes Exp $"; +const char pcrs_rcs[] = "$Id: pcrs.c,v 1.13 2001/09/06 14:05:59 oes Exp $"; /********************************************************************* * @@ -33,6 +33,9 @@ const char pcrs_rcs[] = "$Id: pcrs.c,v 1.12 2001/08/18 11:35:00 oes Exp $"; * * Revisions : * $Log: pcrs.c,v $ + * Revision 1.13 2001/09/06 14:05:59 oes + * Fixed silly bug + * * Revision 1.12 2001/08/18 11:35:00 oes * - Introduced pcrs_strerror() * - made some NULL arguments non-fatal @@ -268,7 +271,7 @@ pcrs_substitute *pcrs_compile_replacement(const char *replacement, int trivialfl *errptr = PCRS_ERR_NOMEM; return NULL; } - memset(r, '\0', length + 1); + memset(text, '\0', length + 1); /* -- 2.39.2