sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit d15f49e71539eca632e9c27c78a7f8582879c060
parent 6eec2eb3b48870435c9d729e8cf6dac44e2c3744
Author: Pieter Kockx <pieterkockx@gmail.com>
Date:   Thu, 12 Oct 2017 00:17:26 +0200

which: fix whitespace

Diffstat:
Mwhich.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/which.c b/which.c @@ -29,8 +29,8 @@ which(const char *path, const char *name) ptr[i] = '\0'; if ((dirfd = open(p, O_RDONLY, 0)) >= 0) { if (!fstatat(dirfd, name, &st, 0) && - S_ISREG(st.st_mode) && - !faccessat(dirfd, name, X_OK, 0)) { + S_ISREG(st.st_mode) && + !faccessat(dirfd, name, X_OK, 0)) { found = 1; fputs(p, stdout); if (i && ptr[i - 1] != '/')