summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-04-09 17:30:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-04-09 17:30:06 (GMT)
commite2b3b1edf02e0c1ab06cfe784d6a7bd76e8050d8 (patch)
tree18f2f6548b58be30c2a8ec13c42375ddb5802e94 /unix/tclUnixFile.c
parent77dbe8dc087788e733edf13dedd31202b18fded4 (diff)
downloadtcl-e2b3b1edf02e0c1ab06cfe784d6a7bd76e8050d8.zip
tcl-e2b3b1edf02e0c1ab06cfe784d6a7bd76e8050d8.tar.gz
tcl-e2b3b1edf02e0c1ab06cfe784d6a7bd76e8050d8.tar.bz2
Guarantee TclNeedSpace and TclFindElement have common definition of whitespace
by having both call the same routine. Create a macro form to contain performance costs and adapt callers.
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r--unix/tclUnixFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c
index 65e144d..038cbf8 100644
--- a/unix/tclUnixFile.c
+++ b/unix/tclUnixFile.c
@@ -98,7 +98,7 @@ TclpFindExecutable(
*/
while (1) {
- while (TclIsSpaceProc(*p)) {
+ while (TclIsSpaceProcM(*p)) {
p++;
}
name = p;