X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..a6a073be4aea5e0a1ca2e55920d0f97c8a5f273a:/uip/mhshowsbr.c?ds=sidebyside diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 866a41bf..3d2d8eb0 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -19,7 +19,6 @@ #include #include #include -#include extern int debugsw; @@ -191,7 +190,7 @@ DisplayMsgHeader (CT ct, char *form) 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) { @@ -560,7 +559,7 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer 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: