From 300fb940533ac67fac140c24f6689f8243cfa696 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 25 Apr 1997 06:42:57 +0000 Subject: [PATCH] correct vfork()/exit() to vfork()/_exit(). This is far more important now that vfork() actually works in FreeBSD for the first time. Spotted by: se --- contrib/gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 5419bd0ae2e..c40097e7ecd 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -2098,7 +2098,7 @@ pexecute (search_flag, program, argv, not_last) /* Exec the program. */ (*func) (program, argv); perror_exec (program); - exit (-1); + _exit (1); /* NOTREACHED */ return 0;