summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-11-27 13:47:29 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-11-27 13:47:29 (GMT)
commitbe44abe4cb706563633f48a62e41bc3e3b670536 (patch)
tree61a3a3fa5ff2b5ece78154c0bee43ef20e3443f9
parent13c3412b50a2103ed9425c67562e759c90f5230a (diff)
downloadtcl-be44abe4cb706563633f48a62e41bc3e3b670536.zip
tcl-be44abe4cb706563633f48a62e41bc3e3b670536.tar.gz
tcl-be44abe4cb706563633f48a62e41bc3e3b670536.tar.bz2
Replace isspace(char) with isspace(UCHAR(char)) for safety...
-rw-r--r--generic/tclProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 97e2512..21cba70 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.33 2001/11/20 16:36:07 msofer Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.34 2001/11/27 13:47:29 dkf Exp $
*/
#include "tclInt.h"
@@ -185,7 +185,7 @@ Tcl_ProcObjCmd(dummy, interp, objc, objv)
procBody = Tcl_GetString(objv[3]);
while(*procBody != '\0') {
- if (!isspace(*procBody)) {
+ if (!isspace(UCHAR(*procBody))) {
goto done;
}
procBody++;