From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ramakrishnan Muthukrishnan Newsgroups: gmane.lisp.guile.devel Subject: Re: fix for expt bug Date: Tue, 2 Nov 2010 11:06:06 +0530 Message-ID: References: <8762whnc4d.fsf@yeeloong.netris.org> <87r5f4l3yt.fsf@yeeloong.netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e64bb7ba5d19f004940b4ed0 X-Trace: dough.gmane.org 1288676210 11662 80.91.229.12 (2 Nov 2010 05:36:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Nov 2010 05:36:50 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 02 06:36:46 2010 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 1PD9Y3-0006oV-96 for guile-devel@m.gmane.org; Tue, 02 Nov 2010 06:36:43 +0100 Original-Received: from localhost ([127.0.0.1]:57677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PD9Y2-0008Av-DL for guile-devel@m.gmane.org; Tue, 02 Nov 2010 01:36:42 -0400 Original-Received: from [140.186.70.92] (port=54845 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PD9Xp-0008Ak-4p for guile-devel@gnu.org; Tue, 02 Nov 2010 01:36:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PD9Xn-0003E4-UN for guile-devel@gnu.org; Tue, 02 Nov 2010 01:36:29 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:45373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PD9Xn-0003E0-Nv for guile-devel@gnu.org; Tue, 02 Nov 2010 01:36:27 -0400 Original-Received: by vws18 with SMTP id 18so4880222vws.0 for ; Mon, 01 Nov 2010 22:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=h4aaEcE38ubWh4D0zoEuQum39CmZslCKBBQNqEU1kB0=; b=LxhRHKVcQiougTqexOfyqkhWkWUjBMsf8b/97PkBIJuytatcKqptI5gl7SzW7tjjs7 yQGV0cwUgVU5YL07+ZcKBHLvPT4GWXTJ4ZPQrTzuzP8EEmBFFZgy4hmc3mcS7xOE/kD4 uwKvnTTGjC3qKpSwf47Ep7Fcjb8TGOPxfzsGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=QFwxHez3K14uIdltjMDi415Pe2HTUL+1keWaqMYKP22vvFSOhSAIu+RdjKRZx5f8qn gVSwzICjS4tmaZd/dEt5wFLi/EOfbraMRm9DGZzZsLr4GU9xniZKS+7M8kdjELDHQFC5 fO5Rt65pu8Qe152ocwogZWgTdFQ7BSYi3ystI= Original-Received: by 10.229.245.4 with SMTP id ls4mr3754354qcb.32.1288676187117; Mon, 01 Nov 2010 22:36:27 -0700 (PDT) Original-Received: by 10.229.40.147 with HTTP; Mon, 1 Nov 2010 22:36:06 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:11100 Archived-At: --0016e64bb7ba5d19f004940b4ed0 Content-Type: text/plain; charset=UTF-8 Here is the updated patch. thanks Ramakrishnan --0016e64bb7ba5d19f004940b4ed0 Content-Type: text/x-patch; charset=US-ASCII; name="expt-fix.patch" Content-Disposition: attachment; filename="expt-fix.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gg0cepg80 RnJvbSBlMzIwZDc5YzhmM2NkOGI3ZGRjYjljMmQxMzM1NmUzNGEzMzQ2Y2ZlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSYW1ha3Jpc2huYW4gTXV0aHVrcmlzaG5hbiA8dnUzcmRkQGdt YWlsLmNvbT4KRGF0ZTogU3VuLCAzMSBPY3QgMjAxMCAyMzoyMjo1MiArMDUzMApTdWJqZWN0OiBb UEFUQ0hdIEZpeCBmb3IgYnVnICMzMTQ2NC4gZXhwdCBuZWVkcyB0byB0cmVhdCBuZWdhdGl2ZSBi YXNlcyBzcGVjaWFsbHkuCgoqIGxpYmd1aWxlL251bWJlcnMuYzogSWYgYmFzZSBpcyBuZWdhdGl2 ZSwgZXhwdCBuZWVkcyB0byBmaW5kCiAgLXhebiA9ICgtMV5uKSAqICh8eHxebikuIFdlIGZpbmQg eF5uIGFuZCB0aGVuIGlmIG4gaXMgb2RkLCB3ZQogIGFsc28gbXVsdGlwbHkgdGhlIHJlc3VsdCB3 aXRoIC0xLiBUaGVzZSBjaGFuZ2VzIGFwcGx5IG9ubHkgZm9yCiAgY2FzZXMgd2hlcmUgbiBpcyBh biBpbnRlZ2VyLgoKKiB0ZXN0LXN1aXRlL3Rlc3RzL251bWJlcnMudGVzdDogVHdvIG5ldyB0ZXN0 IGNhc2VzIGZvciBleHB0LiBGb3IKICBjYXNlcyB3aGVyZSB0aGUgYmFzZSBpcyBuZWdhdGl2ZSBh bmQgdGhlIHBvd2VyIHRvIGJlIHJhaXNlZCBpcwogIG5vdCBhbiBpbnRlZ2VyLCB0aGUgcmVzdWx0 IHNob3VsZCBiZSBhIGNvbXBsZXggbnVtYmVyLgotLS0KIGxpYmd1aWxlL251bWJlcnMuYy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