summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 17:08:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 17:08:06 (GMT)
commita6393381ec5d16f9f82c4b8ee992bedaa7c1e4a9 (patch)
treefe6b18722418a1781841f55205a83cc15c243c6b /compat
parentd53b2ae83f6ba7aa37755dda0d38ff034c0c0ebd (diff)
parentfa64afb29a232d853b04e8e7bb5ad53c3d02f019 (diff)
downloadtcl-a6393381ec5d16f9f82c4b8ee992bedaa7c1e4a9.zip
tcl-a6393381ec5d16f9f82c4b8ee992bedaa7c1e4a9.tar.gz
tcl-a6393381ec5d16f9f82c4b8ee992bedaa7c1e4a9.tar.bz2
Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is always addressed with unsigned chars now.
Eliminate some useless end-of-line spacing that slipped in.
Diffstat (limited to 'compat')
-rw-r--r--compat/strtol.c2
-rw-r--r--compat/strtoul.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/compat/strtol.c b/compat/strtol.c
index 811006a..b7f6919 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -53,7 +53,7 @@ strtol(
*/
p = string;
- while (isspace(UCHAR(*p))) {
+ while (TclIsSpaceProc(*p)) {
p += 1;
}
diff --git a/compat/strtoul.c b/compat/strtoul.c
index 15587f1..e37eb05 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -74,7 +74,7 @@ strtoul(
*/
p = string;
- while (isspace(UCHAR(*p))) {
+ while (TclIsSpaceProc(*p)) {
p += 1;
}
if (*p == '-') {