diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 17:09:30 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 17:09:30 (GMT) |
commit | a72c1f969cba896ca61001393f0f7b74fb52e194 (patch) | |
tree | e6fdb6985952e104004323a8b1172733b8f33abf /unix/tclUnixFile.c | |
parent | 1f9225ecf514564b9994b7747fbdc7852a321dfa (diff) | |
download | tcl-a72c1f969cba896ca61001393f0f7b74fb52e194.zip tcl-a72c1f969cba896ca61001393f0f7b74fb52e194.tar.gz tcl-a72c1f969cba896ca61001393f0f7b74fb52e194.tar.bz2 |
more spacing/formatting tweaks
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 70924f8..444c73f 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -131,9 +131,9 @@ TclpFindExecutable( && S_ISREG(statBuf.st_mode)) { goto gotName; } - if (*p == '\0') { + if (p[0] == '\0') { break; - } else if (*(p+1) == 0) { + } else if (p[1] == 0) { p = "./"; } else { p++; |