summaryrefslogtreecommitdiff
path: root/bin/rmail
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-02-25 18:52:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-02-25 18:52:40 +0000
commitb95f4b36b53686fb74d4cdced8d638cd9329632e (patch)
treeb1ac8508e0d9f0dbc06829899556e25c75d94222 /bin/rmail
parentda49125cc03d6e39607cd62af6925a06b452901c (diff)
support giant files by using ftello(); dhill@mindcry.org
Diffstat (limited to 'bin/rmail')
-rw-r--r--bin/rmail/rmail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rmail/rmail.c b/bin/rmail/rmail.c
index d381deebb55..1f6876124ff 100644
--- a/bin/rmail/rmail.c
+++ b/bin/rmail/rmail.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmail.c,v 1.21 2006/11/15 22:23:09 miod Exp $ */
+/* $OpenBSD: rmail.c,v 1.22 2008/02/25 18:52:39 deraadt Exp $ */
/* $NetBSD: rmail.c,v 1.8 1995/09/07 06:51:50 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95";
#else
-static char rcsid[] = "$OpenBSD: rmail.c,v 1.21 2006/11/15 22:23:09 miod Exp $";
+static char rcsid[] = "$OpenBSD: rmail.c,v 1.22 2008/02/25 18:52:39 deraadt Exp $";
#endif
#endif /* not lint */
@@ -235,7 +235,7 @@ main(int argc, char *argv[])
}
if (offset != -1)
- offset = (off_t)ftell(stdin);
+ offset = ftello(stdin);
}
i = 0;