summary refs log tree commit diff
path: root/src/mail.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-01-21 22:26:28 -0500
committerJune McEnroe <june@causal.agency>2022-01-21 22:26:28 -0500
commit22fb2a07db173532462d90ad875a06254e932773 (patch)
treef1452b68dad10fa2a6d43223a992eefa93cedf75 /src/mail.c
parentdash: Just zero mailsize on changemail (diff)
downloaddash-22fb2a07db173532462d90ad875a06254e932773.tar.gz
dash-22fb2a07db173532462d90ad875a06254e932773.zip
dash: Stop this stat64 nonsense
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c4
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;
 		}