X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fspost.c;h=8c55c06e63e96ad99550ac47a515ba8ea7e71fd5;hb=40821f5c1316e9205a08375e7075909cc9968e7d;hp=cc163ac0b2fa672a72350163eb36a3f563bd5eec;hpb=5b792c4424571f05bc2008e3109797d18d7d00d1;p=mmh diff --git a/uip/spost.c b/uip/spost.c index cc163ac..8c55c06 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -431,7 +431,7 @@ main(int argc, char **argv) if (pushflg && !(watch || verbose)) { /* fork to a child to run sendmail */ - for (i=0; (pid = vfork()) == NOTOK && i < 5; i++) + for (i=0; (pid = fork()) == NOTOK && i < 5; i++) sleep(5); switch (pid) { case NOTOK: @@ -797,11 +797,11 @@ make_bcc_file(void) } else { vec[0] = mhbasename(mhlproc); - 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: - adios("vfork", "unable to"); + adios("fork", "unable to"); case OK: dup2(fileno(out), 1); @@ -857,7 +857,7 @@ fcc(char *file, char *folder) folder); 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: