=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/collect.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- src/usr.bin/mail/collect.c 2004/01/03 20:06:59 1.27 +++ src/usr.bin/mail/collect.c 2007/09/10 14:29:53 1.28 @@ -1,4 +1,4 @@ -/* $OpenBSD: collect.c,v 1.27 2004/01/03 20:06:59 millert Exp $ */ +/* $OpenBSD: collect.c,v 1.28 2007/09/10 14:29:53 tobias Exp $ */ /* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static const char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94"; #else -static const char rcsid[] = "$OpenBSD: collect.c,v 1.27 2004/01/03 20:06:59 millert Exp $"; +static const char rcsid[] = "$OpenBSD: collect.c,v 1.28 2007/09/10 14:29:53 tobias Exp $"; #endif #endif /* not lint */ @@ -447,7 +447,7 @@ (void)ignoresig(SIGINT, &oact, &oset); nf = run_editor(fp, (off_t)-1, c, 0); if (nf != NULL) { - fseek(nf, 0L, 2); + fseek(nf, 0L, SEEK_END); collf = nf; (void)Fclose(fp); } @@ -497,7 +497,7 @@ /* * Take new files. */ - (void)fseek(nf, 0L, 2); + (void)fseek(nf, 0L, SEEK_END); collf = nf; (void)Fclose(fp); out: