X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0bfb53a23531bea3aaeadcd1a6f6c372eef96612..ae9db48d6adafe3a10e6d125ff4720495cc76ee2:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index d4c6f10a..38188766 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -276,6 +276,7 @@ get_content (FILE *in, char *file, int toplevel) * Parse the header fields for this * content into a linked list. */ + m_getfld_track_filepos (&gstate, in); for (compnum = 1;;) { int bufsz = sizeof buf; switch (state = m_getfld (&gstate, name, buf, &bufsz, in)) { @@ -2627,7 +2628,7 @@ openFTP (CT ct, char **file) fflush (stdout); - for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: @@ -2769,7 +2770,7 @@ openMail (CT ct, char **file) vec[vecp++] = e->eb_body; vec[vecp] = NULL; - for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: