From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Single process output reading Date: 17 Aug 2004 13:38:30 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <874qn35tgf.fsf@zamazal.org> <87wtzyuhkn.fsf@blackbird.zamazal.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092742685 8742 80.91.224.253 (17 Aug 2004 11:38:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2004 11:38:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 17 13:37:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bx2Ht-0003d4-00 for ; Tue, 17 Aug 2004 13:37:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx2M3-0002ZL-3r for ged-emacs-devel@m.gmane.org; Tue, 17 Aug 2004 07:42:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bx2Lv-0002YC-JQ for emacs-devel@gnu.org; Tue, 17 Aug 2004 07:42:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bx2Lt-0002XM-Jj for emacs-devel@gnu.org; Tue, 17 Aug 2004 07:42:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx2Lq-0002XJ-On for emacs-devel@gnu.org; Tue, 17 Aug 2004 07:42:02 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bx2Hb-0002i5-Bi for emacs-devel@gnu.org; Tue, 17 Aug 2004 07:37:39 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id AB3B126286D; Tue, 17 Aug 2004 13:37:34 +0200 (CEST) Original-To: Milan Zamazal In-Reply-To: <87wtzyuhkn.fsf@blackbird.zamazal.org> Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26280 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26280 Milan Zamazal writes: > The problem is that wait_channel is -1 on the segfaulting line: Ah, yes, that can happen. > > FD_SET (wait_channel, &Available); Try this line instead: FD_SET (XINT (wait_proc->infd), &Available);