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] waitpid should not crash on error Date: Tue, 18 Oct 2011 16:58:09 +0200 Message-ID: <87mxcy8hz2.fsf@pobox.com> References: <87zkgzpn87.fsf@yeeloong.netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318949913 1164 80.91.229.12 (18 Oct 2011 14:58:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 14:58:33 +0000 (UTC) Cc: Mark H Weaver , guile-devel To: Nala Ginrut Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Oct 18 16:58:28 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGB7b-0008Mx-JJ for guile-devel@m.gmane.org; Tue, 18 Oct 2011 16:58:27 +0200 Original-Received: from localhost ([::1]:41034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGB7b-0003Zk-91 for guile-devel@m.gmane.org; Tue, 18 Oct 2011 10:58:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGB7V-0003ZR-E5 for guile-devel@gnu.org; Tue, 18 Oct 2011 10:58:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGB7R-0008H0-3o for guile-devel@gnu.org; Tue, 18 Oct 2011 10:58:21 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:58486 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGB7R-0008Fb-14 for guile-devel@gnu.org; Tue, 18 Oct 2011 10:58:17 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7308267E0; Tue, 18 Oct 2011 10:58:13 -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:content-transfer-encoding; s=sasl; bh=7plJDJYyPIbM +ZSxe7AU7pVJKAE=; b=OXTq2POX+ePznHiUzI8F7iYitutYr3w2jlzvlmu3XPd3 +uN+U43NkXwtuD6aZW8TJspu6lblepzsL4wPRr3VVanfhehpC/29tygQPtV6x+Bh jm+D81UkLvEwXYu1PXrislfURnkX+6Jfm0H6noHkiQywSaZhesKcW0e8taIJbZs= 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:content-transfer-encoding; q=dns; s=sasl; b=vpa6kn MCHOJjWCZPYQsa55DXK0P9bNfRWdw23m0gYoavo9l9UZW43cGUpwO+h1i/L4I9Bc 7ed9hAdCkkxJVaFEcwceTru0YUXxwGbfBcdrpr+BJqc9Bd4O+At36OFq5UjrFWS7 Q0vJRZnIgmHm6H6doer6Btys7VEnNWxIt6688= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6BEC367D8; Tue, 18 Oct 2011 10:58:13 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id B915B67D7; Tue, 18 Oct 2011 10:58:12 -0400 (EDT) In-Reply-To: (Nala Ginrut's message of "Tue, 18 Oct 2011 10:22:34 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 99EF8832-F999-11E0-86C4-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12845 Archived-At: On Tue 18 Oct 2011 04:22, Nala Ginrut writes: > On Tue, Oct 18, 2011 at 1:00 AM, Mark H Weaver wrote: > > (catch 'system-error > =C2=A0(lambda () (waitpid the-pid)) > =C2=A0(lambda (key . args) 'waitpid-failed)) > > But how can I find the error message like 'waitpid-failed? I can't > find it in the manual.=C2=A0 That's not an error message, it's the return value of the catch handler. Andy --=20 http://wingolog.org/