From owner-freebsd-current Mon Apr 21 17:51:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA02175 for current-outgoing; Mon, 21 Apr 1997 17:51:25 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA02170 for ; Mon, 21 Apr 1997 17:51:21 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id TAA13059; Mon, 21 Apr 1997 19:49:56 -0500 (EST) From: "John S. Dyson" Message-Id: <199704220049.TAA13059@dyson.iquest.net> Subject: Re: You will need to recompile your libc and apps!!! In-Reply-To: <3.0.1.32.19970421174205.0093ed50@mantar.slip.netcom.com> from Manfred Antar at "Apr 21, 97 05:42:05 pm" To: mantar@netcom.com (Manfred Antar) Date: Mon, 21 Apr 1997 19:49:56 -0500 (EST) Cc: terry@lambert.org, bde@zeta.org.au, current@FreeBSD.ORG Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > At 11:59 AM 4/21/97 -0700, Terry Lambert wrote: > I Did a make world Sunday with current sources and X doesn't work any more > if i use a libc from last thurs (4/17/96) it works.kernel is also current > although and old kernel doesn't make a difference.all seemed to work well > till Sunday when i did make world from X and shut down.All i get is a > X screen with nothing else. > Any ideas > Apply this patch from Tor Egge (might not help your case.) If that doesn't work, then try removing the RFMEM from /sys/kern/kern_fork.c. If that works, there is some code somewhere that is using vfork, but shouldn't. It would really be ashamed if we cannot use the RFMEM. Index: popen.c =================================================================== RCS file: /home/ncvs/src/lib/libc/gen/popen.c,v retrieving revision 1.8 diff -u -r1.8 popen.c --- popen.c 1997/04/20 20:17:04 1.8 +++ popen.c 1997/04/21 14:10:59 @@ -105,7 +105,8 @@ if (pdes[1] != STDOUT_FILENO) { (void)dup2(pdes[1], STDOUT_FILENO); (void)close(pdes[1]); - (void)dup2(STDOUT_FILENO, STDIN_FILENO); + if (twoway) + (void)dup2(STDOUT_FILENO, STDIN_FILENO); } else if (twoway && (pdes[1] != STDIN_FILENO)) (void)dup2(pdes[1], STDIN_FILENO); } else {