[or-cvs] r6957: Add isupper and islower wrappers to compat.h (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Mon Jul 31 18:01:23 UTC 2006


Author: nickm
Date: 2006-07-31 14:01:22 -0400 (Mon, 31 Jul 2006)
New Revision: 6957

Modified:
   tor/trunk/
   tor/trunk/src/common/compat.h
Log:
 r6978 at Kushana:  nickm | 2006-07-31 13:16:14 -0400
 Add isupper and islower wrappers to compat.h



Property changes on: tor/trunk
___________________________________________________________________
Name: svk:merge
   - c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:6977
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950
   + c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/eventdns:6978
c95137ef-5f19-0410-b913-86e773d04f59:/tor/branches/oo-connections:6950

Modified: tor/trunk/src/common/compat.h
===================================================================
--- tor/trunk/src/common/compat.h	2006-07-31 18:01:18 UTC (rev 6956)
+++ tor/trunk/src/common/compat.h	2006-07-31 18:01:22 UTC (rev 6957)
@@ -130,6 +130,8 @@
 #define TOR_ISXDIGIT(c) isxdigit((int)(unsigned char)(c))
 #define TOR_ISDIGIT(c)   isdigit((int)(unsigned char)(c))
 #define TOR_ISPRINT(c)   isprint((int)(unsigned char)(c))
+#define TOR_ISLOWER(c)   islower((int)(unsigned char)(c))
+#define TOR_ISUPPER(c)   isupper((int)(unsigned char)(c))
 
 #ifdef MS_WINDOWS
 #define _SHORT_FILE_ (tor_fix_source_file(__FILE__))



More information about the tor-commits mailing list