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: Wed, 3 Nov 2010 15:11:46 +0530 Message-ID: References: <8762whnc4d.fsf@yeeloong.netris.org> <87r5f4l3yt.fsf@yeeloong.netris.org> <87aalrxim7.fsf@yeeloong.netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016367f985ec10ae7049422da2b X-Trace: dough.gmane.org 1288777339 19450 80.91.229.12 (3 Nov 2010 09:42:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2010 09:42:19 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 03 10:42:15 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 1PDZrD-0000OX-3j for guile-devel@m.gmane.org; Wed, 03 Nov 2010 10:42:15 +0100 Original-Received: from localhost ([127.0.0.1]:50314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDZrC-0006Wf-JM for guile-devel@m.gmane.org; Wed, 03 Nov 2010 05:42:14 -0400 Original-Received: from [140.186.70.92] (port=50191 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDZr7-0006Wa-LL for guile-devel@gnu.org; Wed, 03 Nov 2010 05:42:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDZr6-0004CS-Gt for guile-devel@gnu.org; Wed, 03 Nov 2010 05:42:09 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:53606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDZr6-0004CO-Df for guile-devel@gnu.org; Wed, 03 Nov 2010 05:42:08 -0400 Original-Received: by gxk2 with SMTP id 2so358310gxk.0 for ; Wed, 03 Nov 2010 02:42:07 -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=g2It5s63PartYI8dypZL91DPeo4GOQXyd5Eq7PPE2Ik=; b=YMGJ2ghrKb3KeCfxK+IaONoI80Wya4W9CAq/kkEpRVMbs9UvQqaF5oVWqPO6xxhUez 4B2zc4r41ewD1EgDyTn+4MdSof8l1cml/m7vd21Qm1zgGtbApv5lLKmF41Acf0K+Gj9M 4pd0679ZTwpqNqk4no9lQ5ai75ZkNtcJZpKnY= 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=O/851hvSQZVtV7FJr/Kx1VylauPAyR2Ev2lPGBVOW7qUJ+9EJ5cL5/JKj3BwygPad5 te9z4J37fGvJxjZJfTjiS67Pt/zmUp1wQUKEQZUmayhVJ/6di/uUrWgdL5swtwh59nNA /0jpb9qwrnKXZl104lzoTje9xZX8A/dMTLC3s= Original-Received: by 10.229.99.76 with SMTP id t12mr7303707qcn.70.1288777326725; Wed, 03 Nov 2010 02:42:06 -0700 (PDT) Original-Received: by 10.229.40.147 with HTTP; Wed, 3 Nov 2010 02:41:46 -0700 (PDT) In-Reply-To: <87aalrxim7.fsf@yeeloong.netris.org> 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:11107 Archived-At: --0016367f985ec10ae7049422da2b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks again, Mark and Ludovic. Attached is an updated patch. thanks --=20 =C2=A0 Ramakrishnan --0016367f985ec10ae7049422da2b 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_gg20j74w0 RnJvbSBhMWRkMmRhODU2MmRkZWIyMDUyZjI5OTRhZDAzMDJiY2M4ZDVkMWEyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSYW1ha3Jpc2huYW4gTXV0aHVrcmlzaG5hbiA8dnUzcmRkQGdt YWlsLmNvbT4KRGF0ZTogU3VuLCAzMSBPY3QgMjAxMCAyMzoyMjo1MiArMDUzMApTdWJqZWN0OiBb UEFUQ0hdIEFkZGluZyBhIGNhc2UgZm9yIGBleHB0JyB3aGVuIGJhc2UgaXMgbmVnYXRpdmUuCgoq IGxpYmd1aWxlL251bWJlcnMuYyAoc2NtX2V4cHQpOiBBZGQgYSBjYXNlIHdoZW4gYmFzZSBpcyBh CiAgbmVnYXRpdmUgbnVtYmVyLiBBbHNvIGZpeCB0aGUgYnVnIGZvciB0aGUgY2FzZSB3aGVuIGV4 cG9uZW50CiAgaXMgYW4gaW5leGFjdCBudW1iZXIuCgoqIHRlc3Qtc3VpdGUvdGVzdHMvbnVtYmVy cy50ZXN0ICgiZXhwdCIpOiBBZGQgdGVzdHMgZm9yIHRoZSBjYXNlcwogIHdoZW4gYmFzZSBpcyBh biBpbnRlZ2VyIGFuZCBleHBvbmVudCBpcyBhbiBpbmV4YWN0IG51bWJlciwgYmFzZQogIGlzIGFu IGludGVnZXIgYW5kIGV4cG9uZW50IGlzIGEgcmF0aW9uYWwgbnVtYmVyLCBiYXNlIGFuZAogIGV4 cG9uZW50IGFyZSBib3RoIGluZXhhY3QgYW5kIHNvIG9uLgotLS0KIGxpYmd1aWxlL251bWJlcnMu YyAgICAgIC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--