From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-2.0 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: Re: kgio, autopush test fails on Debian GNU/kFreeBSD Date: Mon, 5 Mar 2012 15:45:08 -0800 Message-ID: <20120305234508.GA15184@dcvr.yhbt.net> References: <20120305084323.GA18294@dcvr.yhbt.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330991126 7310 80.91.229.3 (5 Mar 2012 23:45:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2012 23:45:26 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Tue Mar 06 00:45:25 2012 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:92 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4han-0005xU-A8 for gclrkg-kgio@m.gmane.org; Tue, 06 Mar 2012 00:45:25 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id DC64321D446 for ; Mon, 5 Mar 2012 23:51:16 +0000 (UTC) 375gnu <375gnu@gmail.com> wrote: > On 3/5/12, Eric Wong wrote: > >> In the last assertion getsockopt returns 0. May be it's good behavior for > >> GNU/kFreeBSD, I don't know. > > > > I think this problem is partially caused by eglibc/glibc failing to > > define TCP_NOPUSH in the headers. > > No, /usr/include/netinet/tcp.h has definition for TCP_NOPUSH. There is a Debian > specific patch which defines it. OK. I've pushed out a 3 fixes to get this building on my Debian GNU/kFreeBSD 6.0 KVM instance to "master" of git://bogomips.org/kgio.git accept4: require SOCK_NONBLOCK/SOCK_CLOEXEC macros autopush: fix/enable under Debian GNU/kFreeBSD test: increase delta range for timing-sensitive test