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 | c3b2380c572856c444417e37c6e52e7b24cf433b (patch) | |
| tree | e6fdb6985952e104004323a8b1172733b8f33abf /unix/tclUnixFile.c | |
| parent | 8bc2c23bda9e73e39c63f404bf1da85c8071f669 (diff) | |
| download | tcl-c3b2380c572856c444417e37c6e52e7b24cf433b.zip tcl-c3b2380c572856c444417e37c6e52e7b24cf433b.tar.gz tcl-c3b2380c572856c444417e37c6e52e7b24cf433b.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++; |
