Date: Mon, 21 Apr 1997 19:49:56 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: mantar@netcom.com (Manfred Antar) Cc: terry@lambert.org, bde@zeta.org.au, current@FreeBSD.ORG Subject: Re: You will need to recompile your libc and apps!!! Message-ID: <199704220049.TAA13059@dyson.iquest.net> In-Reply-To: <3.0.1.32.19970421174205.0093ed50@mantar.slip.netcom.com> from Manfred Antar at "Apr 21, 97 05:42:05 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704220049.TAA13059>
