From owner-freebsd-current Sat Apr 20 21:29:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 4A31E37B426 for ; Sat, 20 Apr 2002 21:29:26 -0700 (PDT) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.1/8.12.1) with ESMTP id g3L4TO2m028040; Sun, 21 Apr 2002 00:29:25 -0400 (EDT) Date: Sun, 21 Apr 2002 00:29:24 -0400 (EDT) From: Daniel Eischen To: Oswald Buddenhagen Cc: current@FreeBSD.ORG Subject: Re: uthread_init.c again In-Reply-To: <20020420224229.GA13290@ugly.homeip.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 21 Apr 2002, Oswald Buddenhagen wrote: > hello, > > this is again about the _thread_kern_pipe issue raised a few days ago. > thinking about it again, it's nonsense to create any pid-specific > workarounds by creating fake stdio. the solution is straightforward; > patch attached (completely untested). > note, that the open() wrapper (and other calls that create fds) need to > check, if the newly created fd is a stdio one and adjust > _pthread_stdio_flags - at least this is my understanding of this voodoo. > but then, i don't have the faintest idea of what i'm talking about. :) I like this patch better :-) Thanks, -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message