From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Fix hanging of popen.test Date: Mon, 14 Jun 2010 23:27:13 +0200 Message-ID: References: <1276210496-6477-1-git-send-email-neil@ossau.uklinux.net> <87vd9p5p07.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276551472 7065 80.91.229.12 (14 Jun 2010 21:37:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 21:37:52 +0000 (UTC) Cc: guile-devel@gnu.org To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 14 23:37:50 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOHLi-0005zT-SO for guile-devel@m.gmane.org; Mon, 14 Jun 2010 23:37:43 +0200 Original-Received: from localhost ([127.0.0.1]:48542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOHLi-0001ra-2L for guile-devel@m.gmane.org; Mon, 14 Jun 2010 17:37:42 -0400 Original-Received: from [140.186.70.92] (port=53457 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOHLX-0001jx-QK for guile-devel@gnu.org; Mon, 14 Jun 2010 17:37:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOHLW-0006vF-EL for guile-devel@gnu.org; Mon, 14 Jun 2010 17:37:31 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:36029 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOHLW-0006vB-7m for guile-devel@gnu.org; Mon, 14 Jun 2010 17:37:30 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 120AFBB4CA; Mon, 14 Jun 2010 17:37:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=jdrbUleCMW5W+WxhVE9C1dFAAqY=; b=wQo8Zz UKsS3+enD5gzE2wYRMcRDdhisYEZ+BgeIg/oXYZ3z2baaN/ZmeeXNZxE5OC7MBQU XB/fjoQmOPiKIfK95S26gsgvSyeEqUXRUF5edLxN3Far/gF6Tkg444FjsfynkE33 uN1kmLBZLFgS62vYHJ7zQGjXgTUM47JsQjnr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Zt1JEBMn2lpunVEVHVjoHaUWp/pGl6pl WaWbFIxMzMksg1rR+XFRV+tDNrwaGjiCTZRuhhji2ZUykoWjG/fMSZLuGiZlm61q 3VUfsq01lSSoP1QRzHQi2+fxpo2jsdKS6Pl4Hdx+p/fsTYJUrz9eL9MALYthUoN/ WfvkZbR+AoA= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id EBDB8BB4C8; Mon, 14 Jun 2010 17:37:28 -0400 (EDT) Original-Received: from unquote (unknown [81.39.158.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 59107BB4C7; Mon, 14 Jun 2010 17:37:27 -0400 (EDT) In-Reply-To: <87vd9p5p07.fsf@ossau.uklinux.net> (Neil Jerram's message of "Fri, 11 Jun 2010 20:48:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 0804BA42-77FD-11DF-B7A3-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10478 Archived-At: Heya Neil, On Fri 11 Jun 2010 21:48, Neil Jerram writes: > Neil Jerram writes: > >> +(close-port (current-input-port)) >> +(let loop () >> + (display "closed\n" (current-error-port)) >> + (force-output (current-error-port))) > > Oops, missing a `(loop)' at the end there. I'll see if the test still > works after adding that in. It was an interesting analysis, though I admit I didn't follow all of it. The SIGPIPE didn't hit the subprocess because bash was doing something strange? How did your new test work out? Regards, Andy -- http://wingolog.org/