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/mail.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/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail.c b/src/mail.c index a657153..71cbafd 100644 --- a/src/mail.c +++ b/src/mail.c @@ -70,7 +70,7 @@ chkmail(void) char *q; off_t *msp; struct stackmark smark; - struct stat64 statb; + struct stat statb; setstackmark(&smark); mpath = mpathset() ? mpathval() : mailval(); @@ -89,7 +89,7 @@ chkmail(void) abort(); #endif q[-1] = '\0'; /* delete trailing '/' */ - if (stat64(p, &statb) < 0) { + if (stat(p, &statb) < 0) { *msp = 0; continue; } |