From d0c1f6261a9773bd2271117cdde20d734d320a93 Mon Sep 17 00:00:00 2001 From: jongfoster Date: Sun, 12 May 2002 21:40:37 +0000 Subject: [PATCH] - Removing some unused code --- urlmatch.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/urlmatch.c b/urlmatch.c index 80a18424..1b2aee86 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -1,4 +1,4 @@ -const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.8 2002/04/03 23:32:47 jongfoster Exp $"; +const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.9 2002/04/04 00:36:36 gliptak Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.c,v $ @@ -33,6 +33,9 @@ const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.8 2002/04/03 23:32:47 jongfoste * * Revisions : * $Log: urlmatch.c,v $ + * Revision 1.9 2002/04/04 00:36:36 gliptak + * always use pcre for matching + * * Revision 1.8 2002/04/03 23:32:47 jongfoster * Fixing memory leak on error * @@ -100,19 +103,6 @@ const char urlmatch_rcs[] = "$Id: urlmatch.c,v 1.8 2002/04/03 23:32:47 jongfoste const char urlmatch_h_rcs[] = URLMATCH_H_VERSION; -/* Fix a problem with Solaris. There should be no effect on other - * platforms. - * Solaris's isspace() is a macro which uses it's argument directly - * as an array index. Therefore we need to make sure that high-bit - * characters generate +ve values, and ideally we also want to make - * the argument match the declared parameter type of "int". - * - * Why did they write a character function that can't take a simple - * "char" argument? Doh! - */ -#define ijb_isupper(__X) isupper((int)(unsigned char)(__X)) -#define ijb_tolower(__X) tolower((int)(unsigned char)(__X)) - /********************************************************************* * -- 2.39.2