summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 11:31:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 11:31:25 (GMT)
commit54b0e77083c64793570653ba6e506f173eef82f0 (patch)
treefb1dc054e0c14e1911abe23c1729f46f1a7f00b6 /compat
parent39bf69006a6847b4068bd3b9b8debda81197502a (diff)
parentc66173309fa8adc4c4159bdeae016c7f9e2cbae0 (diff)
downloadtcl-54b0e77083c64793570653ba6e506f173eef82f0.zip
tcl-54b0e77083c64793570653ba6e506f173eef82f0.tar.gz
tcl-54b0e77083c64793570653ba6e506f173eef82f0.tar.bz2
Merge 8.6
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 22cc1eb..a9866f4 100644
--- a/compat/strtol.c
+++ b/compat/strtol.c
@@ -53,7 +53,7 @@ strtol(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
diff --git a/compat/strtoul.c b/compat/strtoul.c
index bf16f7a..af63036 100644
--- a/compat/strtoul.c
+++ b/compat/strtoul.c
@@ -74,7 +74,7 @@ strtoul(
*/
p = string;
- while (TclIsSpaceProc(*p)) {
+ while (isspace(UCHAR(*p))) {
p += 1;
}
if (*p == '-') {