summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-11 15:53:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-11 15:53:07 (GMT)
commit74f50a92f3da3af11e792ce50837624434587b54 (patch)
tree83776d7b45e1006d3558f3895173c1075bf266e0 /compat
parent743e03cf5e6eb1b9679f21e613513de51f874878 (diff)
parent1d6a94f9f809cab704789272afceeefb15e4b0db (diff)
downloadtcl-74f50a92f3da3af11e792ce50837624434587b54.zip
tcl-74f50a92f3da3af11e792ce50837624434587b54.tar.gz
tcl-74f50a92f3da3af11e792ce50837624434587b54.tar.bz2
Merge 8.7
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 == '-') {