diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-26 16:50:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-01-26 16:50:21 (GMT) |
commit | fa64afb29a232d853b04e8e7bb5ad53c3d02f019 (patch) | |
tree | 3fff9cc7c897fa0e1aa2cecc65aaf232211dd03b /compat/strtol.c | |
parent | 5f4d72886372eacd51d78f6431e812a978dae48f (diff) | |
download | tcl-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.c | 2 |
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; } |