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 22:11:55 +0530 Message-ID: References: <8762whnc4d.fsf@yeeloong.netris.org> <87r5f4l3yt.fsf@yeeloong.netris.org> <87aalrxim7.fsf@yeeloong.netris.org> <8762wexw1f.fsf@yeeloong.netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e64bb7ba618c27049428b9c8 X-Trace: dough.gmane.org 1288802551 15105 80.91.229.12 (3 Nov 2010 16:42:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2010 16:42:31 +0000 (UTC) Cc: guile-devel To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 03 17:42:27 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 1PDgPp-0000tT-O7 for guile-devel@m.gmane.org; Wed, 03 Nov 2010 17:42:26 +0100 Original-Received: from localhost ([127.0.0.1]:50448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDgPp-00019t-3t for guile-devel@m.gmane.org; Wed, 03 Nov 2010 12:42:25 -0400 Original-Received: from [140.186.70.92] (port=41746 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDgPi-00018Y-OR for guile-devel@gnu.org; Wed, 03 Nov 2010 12:42:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDgPh-0003xJ-AA for guile-devel@gnu.org; Wed, 03 Nov 2010 12:42:18 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:40466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDgPh-0003xD-2k for guile-devel@gnu.org; Wed, 03 Nov 2010 12:42:17 -0400 Original-Received: by qwi2 with SMTP id 2so219976qwi.0 for ; Wed, 03 Nov 2010 09:42:16 -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:cc:content-type; bh=79xWOAaNDkQejr9eGQw+wX5Wpmk1ogUzcHGV8toI4KI=; b=YEnCoMf9Vbz0Hl2aWSOJXlV8PsDAj6kBHbhfiV9AL3Y5YeHCefAa2CEBlo2063vup7 aDhkJQPzAiDjITRH/PbkZmMMtn/9iQZDV4ai3au0ehSvnQnouYGHgPpUYCEPYZJmCzUb GmiOh86oHDuCblrFEXY2odU7W7S7mUttOsUGg= 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 :cc:content-type; b=nJMavYttwd9lKcPU2F8uqxSbZejIv/Mbyp3ckaYH9SYFvsNnUUqlbs21/PaFUCoWul H3RSzyY/M82YjTlw5AqykXqHYTF115YCqnR0hc/GDddEPcF5ew0+CPZQHRYEsjYkvjaS hL7TZu7I83OoJNf/ge/dChJ77b7gD454GnpOQ= Original-Received: by 10.229.245.4 with SMTP id ls4mr5476056qcb.32.1288802536622; Wed, 03 Nov 2010 09:42:16 -0700 (PDT) Original-Received: by 10.229.40.147 with HTTP; Wed, 3 Nov 2010 09:41:55 -0700 (PDT) In-Reply-To: <8762wexw1f.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:11110 Archived-At: --0016e64bb7ba618c27049428b9c8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Nov 3, 2010 at 9:02 PM, Mark H Weaver wrote: > Hi Ramakrishnan, > > We're almost there, but you neglected one of the comments I made about > your previous patch. Sorry, I should pay more attention. :-( Attaching the modified patch. --=20 =C2=A0 Ramakrishnan --0016e64bb7ba618c27049428b9c8 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_gg2fm3y90 RnJvbSA2Y2NhOGE2NmEzZGFlZGI1NTFmNGY4MDE3MDk2NmQ3NGI2MTQzYmE2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSYW1ha3Jpc2huYW4gTXV0aHVrcmlzaG5hbiA8dnUzcmRkQGdt YWlsLmNvbT4KRGF0ZTogU3VuLCAzMSBPY3QgMjAxMCAyMzoyMjo1MiArMDUzMApTdWJqZWN0OiBb UEFUQ0hdIEFkZGluZyBhIGNhc2UgZm9yIGBleHB0JyB3aGVuIGJhc2UgaXMgbmVnYXRpdmUuCgoq IGxpYmd1aWxlL251bWJlcnMuYyAoc2NtX2V4cHQpOiBBZGQgYSBjYXNlIHdoZW4gYmFzZSBpcyBh CiAgbmVnYXRpdmUgbnVtYmVyLiBBbHNvIGZpeCB0aGUgYnVnIGZvciB0aGUgY2FzZSB3aGVuIGV4 cG9uZW50CiAgaXMgYW4gaW5leGFjdCBudW1iZXIuCgoqIHRlc3Qtc3VpdGUvdGVzdHMvbnVtYmVy cy50ZXN0ICgiZXhwdCIpOiBBZGQgdGVzdHMgZm9yIHRoZSBjYXNlcwogIHdoZW4gYmFzZSBpcyBh biBpbnRlZ2VyIGFuZCBleHBvbmVudCBpcyBhbiBpbmV4YWN0IG51bWJlciwgYmFzZQogIGlzIGFu IGludGVnZXIgYW5kIGV4cG9uZW50IG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