diff options
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; |