From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: Bug in Guile's Posix Networking Date: Sun, 13 Feb 2011 15:34:07 -0500 Message-ID: References: <877hdb76cq.fsf@vir.lan> <33545F7E-7D6A-406F-8B15-501B050181E1@raeburn.org> <2BD09919-BB03-4DD6-AF78-6EE8B206711B@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf3054a679559ae0049c2fdaec X-Trace: dough.gmane.org 1297629265 11430 80.91.229.12 (13 Feb 2011 20:34:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 20:34:25 +0000 (UTC) Cc: Ken Raeburn , guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Feb 13 21:34:18 2011 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 1PoieA-0000UA-4n for guile-devel@m.gmane.org; Sun, 13 Feb 2011 21:34:18 +0100 Original-Received: from localhost ([127.0.0.1]:54845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Poie9-0007VE-Hz for guile-devel@m.gmane.org; Sun, 13 Feb 2011 15:34:17 -0500 Original-Received: from [140.186.70.92] (port=40156 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Poie1-0007S0-RD for guile-devel@gnu.org; Sun, 13 Feb 2011 15:34:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Poie0-0004iZ-QP for guile-devel@gnu.org; Sun, 13 Feb 2011 15:34:09 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:54949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Poie0-0004iV-If for guile-devel@gnu.org; Sun, 13 Feb 2011 15:34:08 -0500 Original-Received: by gxk5 with SMTP id 5so2008791gxk.0 for ; Sun, 13 Feb 2011 12:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=FqB87Y3hlnRnTmDn+YEJ+o1rbnlBga6xpTd5cO1hneY=; b=cIVZN+ADl6VpoJJJhkpyHUwUwhGDhg2ygs1/jDf6y2qNrtevUdtASmogC9w5YcpGVS p8hLUrR3pzRC5W4SwSzMzTr5YfauxKFFlJQ0DdXjjnbhXiKT42RXo5GgHhxfCSEkmh/Z SG9CGZ1qBgAbZ3DqAFJWLp9KWdmXwRBl/OjP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=t2iO0WzEBZz6ZDiI7nCRSvS0fumpK3Smg0IPxA2sxAnkIEGTV14l/IbQdagHLwD4Mb nDvrtb3TSfoyf6oYvIC4BZg38xUt2uDfkv3Q51uJzyNRFR+U/h/as3qd/fRsgx3AZTF2 QkRs7MNTIuXIK3sAut62H/y5bhCsTyy/vhSTI= Original-Received: by 10.146.86.12 with SMTP id j12mr3883525yab.27.1297629247281; Sun, 13 Feb 2011 12:34:07 -0800 (PST) Original-Received: by 10.147.40.5 with HTTP; Sun, 13 Feb 2011 12:34:07 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: Fk5A8iMin6YmXkQJZa2zWPqFyys X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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:11607 Archived-At: --20cf3054a679559ae0049c2fdaec Content-Type: text/plain; charset=ISO-8859-1 Here it is. On Sun, Feb 13, 2011 at 3:10 PM, Noah Lavine wrote: >> Yes, I think this is the thing to do. >> >> Can you rework your patch, Noah? > > Will do. > --20cf3054a679559ae0049c2fdaec Content-Type: application/octet-stream; name="0001-Set-sockaddr_in.sin_len-field-when-it-exists.patch" Content-Disposition: attachment; filename="0001-Set-sockaddr_in.sin_len-field-when-it-exists.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gk4exxic0 RnJvbSBjMmZiNzliNmI2YWY0ZjEzMGQzNTU2MjRiZTMzNTBkMGQ5NzU2Mzg1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FoIExhdmluZSA8bmxhdmluZUBoYXZlcmZvcmQuZWR1PgpE YXRlOiBTdW4sIDEzIEZlYiAyMDExIDE1OjMxOjMyIC0wNTAwClN1YmplY3Q6IFtQQVRDSF0gU2V0 IHNvY2thZGRyX2luLnNpbl9sZW4gZmllbGQgd2hlbiBpdCBleGlzdHMuCgogKiBjb25maWd1cmUu YWM6IGRldGVjdCB3aGVuIHN0cnVjdCBzb2NrYWRkcl9pbiBoYXMgYSBzaW5fbGVuIGZpZWxkLgog KiBsaWJndWlsZS9zb2NrZXQuYyAoc2NtX3RvX3NvY2thZGRyLCBzY21fZmlsbF9zb2NrYWRkcik6 IHNldCB0aGUKICAgIHNpbl9sZW4gZmllbGQgaW4gb3VyIHN0cnVjdCBzb2NrYWRkcl9pbiB3aGVu IGl0IGV4aXN0cy4KLS0tCiBjb25maWd1cmUuYWMgICAgICB8ICAgIDIgKy0KIGxpYmd1aWxlL3Nv Y2tldC5jIHwgICAgNiArKysrKy0KIDIgZmlsZXMgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspLCAy IGRlbGV0aW9uc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