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.1 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: latest updates in kgio.git Date: Thu, 17 Nov 2011 18:10:21 -0800 Message-ID: <20111118021021.GA16507@dcvr.yhbt.net> References: <20111118021021.GA16507@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321582237 32487 80.91.229.12 (18 Nov 2011 02:10:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2011 02:10:37 +0000 (UTC) To: kgio@librelist.org Original-X-From: kgio@librelist.org Fri Nov 18 03:10:33 2011 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org In-Reply-To: <20111118021021.GA16507@dcvr.yhbt.net> 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:69 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RRDuS-0007E7-UM for gclrkg-kgio@m.gmane.org; Fri, 18 Nov 2011 03:10:33 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 12F3221CB94 for ; Fri, 18 Nov 2011 02:13:53 +0000 (UTC) Mostly documentation and test fixes without much effect on real code. The biggest change is newly-connected sockets and opened files (Kgio.tryopen) will have the close-on-exec descriptor flag set on it when run under Ruby 2.0.0dev. This is to remain consistent with the behavior of core IO classes in Ruby 2.0.0dev. accept()-ed sockets have always defaulted to close-on-exec in kgio, regardless of Ruby version. Summary of changes: connect: more descriptive error for TCP port use rb_update_max_fd() under MRI 1.9.3+ TODO: update SSL/TLS support status :) LICENSE: s/GNU C Library/kgio/ wait.c: fix misspelling in rdoc .wrongdoc.yml: add public/private email addresses test_poll: test for closing a polled IO in sighandler accept: always set O_NONBLOCK for accept()-ed sockets in 1.8 accept: deprecate singleton Kgio.accept_* methods tests: remove tests for IO#nonblock? after accept connect,tryopen: set close-on-exec flag for new fds on Ruby 2.0+ doc: update documentation regarding accept method flags git://bogomips.org/kgio master should be a40c1d4b30253c68d7997324bcebceb68018bc37 It's been a while since the last release, so I'm thinking about pushing out 2.7.0 soon. As always, feedback is greatly appreciated.