From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 9C79C1A00A08 for ; Tue, 29 Mar 2016 13:21:04 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id C98E0B5D894 for ; Tue, 29 Mar 2016 13:57:51 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 2CF4218CC7B2 for ; Tue, 29 Mar 2016 13:57:52 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9504C12047A; Tue, 29 Mar 2016 13:57:48 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 56310120436 for ; Tue, 29 Mar 2016 13:57:45 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=YLuo20Fb7jOvFHzPxP30XyiHhMg=; b=NhYn14xEvHdKmi+qOV Wis6odx/qBvu9l+6CUusN1RdccGC/66eUuG8poupIoh4NxC3opEiMVHJaD7V1GZd vOMuMpcKrSysBWh7EKOa3y6c71z/JRwbpDHFriIJoDrp9p4IFtS5YGgU4kyrU5eb 9cioWBbiWBeksxlSQ2C5X0WW4= Received: by filter0457p1mdw1.sendgrid.net with SMTP id filter0457p1mdw1.3414.56FA0B4523 2016-03-29 04:57:41.698917062 +0000 UTC Received: from herokuapp.com (ec2-184-73-89-120.compute-1.amazonaws.com [184.73.89.120]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id ND0l3wu7RiSFlusBbrw8zg for ; Tue, 29 Mar 2016 04:57:41.542 +0000 (UTC) Date: Tue, 29 Mar 2016 04:57:41 +0000 From: naruse@airemix.jp To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 49271 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11885 X-Redmine-Issue-Author: normalperson X-Redmine-Sender: naruse X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS54nzSI8u7CoNoqPANRxLxxEutzLhPViYJfdR okFXZH89ZE1Ane61psabFWmBFv1wfj4RH6L8aV0Gya9LNuZ+YydEhCuXKxzFs/VHAS5p+u4TeYwUNE 7ANPCbjoqEVD5ToUZ8MKz6MnMnGrEdqM7GEN X-ML-Name: ruby-core X-Mail-Count: 74650 Subject: [ruby-core:74650] [Ruby trunk Bug#11885] [PATCH] IO#readpartial rejects bad args X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11885 has been updated by Yui NARUSE. Backport changed from 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE, 2.3: REQUIRED to 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE, 2.3: DONE ruby_2_3 r54352 merged revision(s) 53329. ---------------------------------------- Bug #11885: [PATCH] IO#readpartial rejects bad args https://bugs.ruby-lang.org/issues/11885#change-57777 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE, 2.3: DONE ---------------------------------------- IO#readpartial rejects bad args Sometimes a sleepy developer will want to swap read_nonblock for readpartial forget to remove "exception: false" * io.c (io_getpartial): remove unused kwarg from template * test/ruby/test_io.rb (test_readpartial_bad_args): new ---Files-------------------------------- 0001-IO-readpartial-rejects-bad-args.patch (2.06 KB) -- https://bugs.ruby-lang.org/