summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c27ba98)
reading it -- missing fseek
SCCS-vsn: usr.bin/mail/fio.c 1.12
-static char *SccsId = "@(#)fio.c 1.11 %G%";
+static char *SccsId = "@(#)fio.c 1.12 %G%";
/*
* Set up the input pointers while copying the mail file into
/*
* Set up the input pointers while copying the mail file into
+ fseek(ibuf, mailsize, 0);
while ((c = getc(ibuf)) != EOF)
putc(c, obuf);
fclose(ibuf);
while ((c = getc(ibuf)) != EOF)
putc(c, obuf);
fclose(ibuf);