summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-01-06 21:35:21 (GMT)
committernijtmans <nijtmans>2010-01-06 21:35:21 (GMT)
commite18f4f7c98916b0225fcdc9e416eddc900a702a0 (patch)
treee6ad158e27cb4aae64737fd8c11326891a51ac7f /generic/tclPkg.c
parent170b4591aeb1f41e55300865c0c9471f2ab5d07e (diff)
downloadtcl-e18f4f7c98916b0225fcdc9e416eddc900a702a0.zip
tcl-e18f4f7c98916b0225fcdc9e416eddc900a702a0.tar.gz
tcl-e18f4f7c98916b0225fcdc9e416eddc900a702a0.tar.bz2
Various trivial fixes, discovered during CYGWIN porting attempt. All backported from trunk.
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index fe23fd2..08b2deb 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.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: tclPkg.c,v 1.34.2.1 2008/04/01 19:31:12 dgp Exp $
+ * RCS: @(#) $Id: tclPkg.c,v 1.34.2.2 2010/01/06 21:35:24 nijtmans Exp $
*
* TIP #268.
* Heavily rewritten to handle the extend version numbers, and extended
@@ -1864,7 +1864,7 @@ Tcl_PkgInitStubsCheck(
int count = 0;
while (*p) {
- count += !isdigit(*p++);
+ count += !isdigit(UCHAR(*p++));
}
if (count == 1) {
if (0 != strncmp(version, actualVersion, strlen(version))) {