summaryrefslogtreecommitdiffstats
path: root/compat/strtol.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 16:50:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-26 16:50:21 (GMT)
commitfa64afb29a232d853b04e8e7bb5ad53c3d02f019 (patch)
tree3fff9cc7c897fa0e1aa2cecc65aaf232211dd03b /compat/strtol.c
parent5f4d72886372eacd51d78f6431e812a978dae48f (diff)
downloadtcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.zip
tcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.tar.gz
tcl-fa64afb29a232d853b04e8e7bb5ad53c3d02f019.tar.bz2
Replace isspace() -> TclIsSpaceProc() _everywhere_.
Change TclIsSpaceProc() and TclIsBareWord so it works with both signed and unsigned characters. Actually, this is not a signature change, as "char" arguments are enlarged to "int" by the C-compiler anyway.
Diffstat (limited to 'compat/strtol.c')
-rw-r--r--compat/strtol.c2
1 files changed, 1 insertions, 1 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;
}