[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fwd-port win32 isprint fix
Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv15551/src/common
Modified Files:
compat.h
Log Message:
fwd-port win32 isprint fix
Index: compat.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/compat.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- compat.h 12 Jan 2005 06:42:31 -0000 1.17
+++ compat.h 22 Jan 2005 00:42:58 -0000 1.18
@@ -85,6 +85,7 @@
#define TOR_ISSPACE(c) isspace((int)(unsigned char)(c))
#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 _SHORT_FILE_ (_tor_fix_source_file(__FILE__))
const char *_tor_fix_source_file(const char *fname);