summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-04-28 16:00:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-04-28 16:00:16 (GMT)
commit98b8497049cfeef401ed6514580249aac3383d4e (patch)
tree594d7927db197d025019ed1ed78bb8de85e4d4ed /generic/tclUtil.c
parent5702e695062ec36c3addd403d748af48164db8b1 (diff)
downloadtcl-98b8497049cfeef401ed6514580249aac3383d4e.zip
tcl-98b8497049cfeef401ed6514580249aac3383d4e.tar.gz
tcl-98b8497049cfeef401ed6514580249aac3383d4e.tar.bz2
More isspace() callers.
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 4a7f79f..d542b52 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -2723,7 +2723,7 @@ TclGetIntForIndex(
* Leading whitespace is acceptable in an index.
*/
- while (length && isspace(UCHAR(*bytes))) { /* INTL: ISO space. */
+ while (length && TclIsSpaceProc(*bytes)) {
bytes++;
length--;
}
@@ -2736,7 +2736,7 @@ TclGetIntForIndex(
if ((savedOp != '+') && (savedOp != '-')) {
goto parseError;
}
- if (isspace(UCHAR(opPtr[1]))) {
+ if (TclIsSpaceProc(opPtr[1])) {
goto parseError;
}
*opPtr = '\0';
@@ -2882,7 +2882,7 @@ SetEndOffsetFromAny(
* after "end-" to Tcl_GetInt, then reverse for offset.
*/
- if (isspace(UCHAR(bytes[4]))) {
+ if (TclIsSpaceProc(bytes[4])) {
return TCL_ERROR;
}
if (Tcl_GetInt(interp, bytes+4, &offset) != TCL_OK) {
@@ -2947,7 +2947,7 @@ TclCheckBadOctal(
* zero. Try to generate a meaningful error message.
*/
- while (isspace(UCHAR(*p))) { /* INTL: ISO space. */
+ while (TclIsSpaceProc(*p)) {
p++;
}
if (*p == '+' || *p == '-') {
@@ -2960,7 +2960,7 @@ TclCheckBadOctal(
while (isdigit(UCHAR(*p))) { /* INTL: digit. */
p++;
}
- while (isspace(UCHAR(*p))) { /* INTL: ISO space. */
+ while (TclIsSpaceProc(*p)) {
p++;
}
if (*p == '\0') {