diff options
author | June McEnroe <june@causal.agency> | 2022-01-21 22:26:28 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-21 22:26:28 -0500 |
commit | 22fb2a07db173532462d90ad875a06254e932773 (patch) | |
tree | f1452b68dad10fa2a6d43223a992eefa93cedf75 /src/exec.c | |
parent | dash: Just zero mailsize on changemail (diff) | |
download | dash-22fb2a07db173532462d90ad875a06254e932773.tar.gz dash-22fb2a07db173532462d90ad875a06254e932773.zip |
dash: Stop this stat64 nonsense
Diffstat (limited to '')
-rw-r--r-- | src/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exec.c b/src/exec.c index 87354d4..41d772f 100644 --- a/src/exec.c +++ b/src/exec.c @@ -333,7 +333,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) int idx; int prev; char *fullname; - struct stat64 statb; + struct stat statb; int e; int updatetbl; struct builtincmd *bcmd; @@ -343,7 +343,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) if (strchr(name, '/') != NULL) { entry->u.index = -1; if (act & DO_ABS) { - while (stat64(name, &statb) < 0) { + while (stat(name, &statb) < 0) { #ifdef SYSV if (errno == EINTR) continue; @@ -436,7 +436,7 @@ loop: TRACE(("searchexec \"%s\": no change\n", name)); goto success; } - while (stat64(fullname, &statb) < 0) { + while (stat(fullname, &statb) < 0) { #ifdef SYSV if (errno == EINTR) continue; |