From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: with-fluids bug? Date: Wed, 13 Oct 2010 21:20:09 +0200 Message-ID: References: <201009262244.32030.stefan.tampe@spray.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286997759 25325 80.91.229.12 (13 Oct 2010 19:22:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 19:22:39 +0000 (UTC) Cc: bug-guile@gnu.org To: Stefan Israelsson Tampe Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Oct 13 21:22:36 2010 Return-path: Envelope-to: guile-bugs@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 1P66uA-000873-VH for guile-bugs@m.gmane.org; Wed, 13 Oct 2010 21:22:30 +0200 Original-Received: from localhost ([127.0.0.1]:32863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P66u6-0006Jo-VG for guile-bugs@m.gmane.org; Wed, 13 Oct 2010 15:22:23 -0400 Original-Received: from [140.186.70.92] (port=36978 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P66ob-0003zE-0f for bug-guile@gnu.org; Wed, 13 Oct 2010 15:16:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P66oZ-0001eb-R4 for bug-guile@gnu.org; Wed, 13 Oct 2010 15:16:40 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:41405 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P66oZ-0001eX-Oe for bug-guile@gnu.org; Wed, 13 Oct 2010 15:16:39 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 2A35DDE5AC; Wed, 13 Oct 2010 15:16:39 -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=JjWybZV55sOhqr3zpZbQSl/gq2o=; b=gKgW7x eV5SrulXYvHJaBFzv1fEPf83O56O+r8YNQvq2heGqXu2nGtnGMQ1Ui2MKuaFkaVq c4KVC00XJPs4vNKbseEjGeGoBmAVYSJYkNlHYYDEEr8XEW1OCxEpwZPtdTB7Jt6e zHGZJcDlPqZcS2AkRdvDxZN+vwWNAcPB7CmI0= 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=gRcTlyS17k0/dENnnH7Xv56+b/PoKfPf ciSyB7Yo4oPCFNGLkGr694vmlMUjcvR1rwEF85ZSm51evK2nzIM+6zzJINeutZOo XsKnilKUYBfzBZN8JHIVp82afBwt5NI8mQnBktPjN4uiqeH0EFvLcVwhiJwbzzpb Il5R7WvCOgA= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 15389DE5AB; Wed, 13 Oct 2010 15:16:38 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [79.151.216.229]) (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 73810DE5A7; Wed, 13 Oct 2010 15:16:36 -0400 (EDT) In-Reply-To: <201009262244.32030.stefan.tampe@spray.se> (Stefan Israelsson Tampe's message of "Sun, 26 Sep 2010 22:44:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 66E2C076-D6FE-11DF-A244-030CEE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4830 Archived-At: Hi, On Sun 26 Sep 2010 22:44, Stefan Israelsson Tampe writes: > Problem: > (define a (make-fluid)) > (with-fluids ((a 1)) 2) ; returns 2 > (pk (with-fluids ((a 1)) 2)) ; barfs at trying to execute function 1 Thank you for this bug report and patch :) I have made an equivalent fix to yours, but more like the `vector' instruction's approach to calling NULLSTACK and more uniform underflow checking. Thanks again! Andy -- http://wingolog.org/