From be44abe4cb706563633f48a62e41bc3e3b670536 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 27 Nov 2001 13:47:29 +0000 Subject: Replace isspace(char) with isspace(UCHAR(char)) for safety... --- generic/tclProc.c | 4 ++-- 1 file 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++; -- cgit v0.12