From: Robin Barker Date: Thu, 8 Jan 2004 16:21:25 +0000 (+0000) Subject: RE: MIME-Base64-2.22 [PATCH] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c302d089fd60667af8cc69b142a3170e60b81b9e;p=p5sagit%2Fp5-mst-13.2.git RE: MIME-Base64-2.22 [PATCH] Message-ID: <533D273D4014D411AB1D00062938C4D904046787@hotel.npl.co.uk> p4raw-id: //depot/perl@22123 --- diff --git a/handy.h b/handy.h index 94798f4..88d7b13 100644 --- a/handy.h +++ b/handy.h @@ -357,7 +357,7 @@ Converts the specified character to lowercase. # define isGRAPH(c) (isALNUM(c) || isPUNCT(c)) # define isPRINT(c) (((c) > 32 && (c) < 127) || (c) == ' ') # define isPUNCT(c) (((c) >= 33 && (c) <= 47) || ((c) >= 58 && (c) <= 64) || ((c) >= 91 && (c) <= 96) || ((c) >= 123 && (c) <= 126)) -# define isXDIGIT(c) (isdigit(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) +# define isXDIGIT(c) (isDIGIT(c) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) # define toUPPER(c) (isLOWER(c) ? (c) - ('a' - 'A') : (c)) # define toLOWER(c) (isUPPER(c) ? (c) + ('a' - 'A') : (c)) #endif