X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frcvtty.c;h=048407a17869c11d92df61c661916e9caf57881e;hb=3bebe0e894828d80183926d4fc19fc01cd3c274e;hp=8e659ffe0c05854af36a8633914c04e8c01e4954;hpb=7ba29497ff3f164e2a507eda35e81f1cb0658c74;p=mmh diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 8e659ff..048407a 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include #include @@ -192,13 +192,13 @@ message_fd (char **vec) fd = mkstemp (strncpy (tmpfil, "/tmp/rcvttyXXXXX", sizeof(tmpfil))); unlink (tmpfil); - if ((child_id = m_vfork()) == NOTOK) { + if ((child_id = vfork()) == NOTOK) { /* fork error */ close (fd); return header_fd (); } else if (child_id) { /* parent process */ - if (!m_setjmp (myctx)) { + if (!setjmp (myctx)) { SIGNAL (SIGALRM, alrmser); bytes = fstat(fileno (stdin), &st) != NOTOK ? (int) st.st_size : 100; @@ -284,7 +284,7 @@ alert (char *tty, int md) if (stat (ttyspec, &st) == NOTOK || (st.st_mode & mask) == 0) return; - if (!m_setjmp (myctx)) { + if (!setjmp (myctx)) { SIGNAL (SIGALRM, alrmser); alarm (2); td = open (ttyspec, O_WRONLY);