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 3D19C1A00477 for ; Wed, 9 Mar 2016 03:38:40 +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 CAAE7B5D8BC for ; Wed, 9 Mar 2016 04:14:32 +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 B421618CC7B8 for ; Wed, 9 Mar 2016 04:14:32 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id B1478120421; Wed, 9 Mar 2016 04:14:30 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id BAB1312040B for ; Wed, 9 Mar 2016 04:14:26 +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=9Rerpq1wynLID6cY6rxOf+GS+zk=; b=mDp5Rm4UvWW1kwSj2U 6YCshD3nxLgjvboHADE+XkWFosttODqaKKGdS2+twCTzz2Ov/Mhmx6p45ucsws39 +0o1tU8PmtazaeH49Q0Lzp2ux9gKRC81Mbzq1zsrSC9GFI2MFQD+U7xlFp/jI13o LwmzHgSDoYgscUGR7zzO/VyQg= Received: by filter0501p1mdw1.sendgrid.net with SMTP id filter0501p1mdw1.23016.56DF248D1 2016-03-08 19:14:21.012286847 +0000 UTC Received: from herokuapp.com (ec2-54-147-207-152.compute-1.amazonaws.com [54.147.207.152]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id 5WAMeyzpQlaW6IrWJX4rZw for ; Tue, 08 Mar 2016 19:14:21.057 +0000 (UTC) Date: Tue, 08 Mar 2016 19:14:20 +0000 From: nagachika00@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 48838 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11885 X-Redmine-Issue-Author: normalperson X-Redmine-Sender: nagachika 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS6Wua8sJSqE/3htRTbC88uPcnZKPZE4v733hx 9763PTm9cqDVby7lenRB+AKOUXeWqGvekdGNOhh6X5CTlKlYfzfUGDv0QY5gRKkdaRtPXyKFkLXYhd lqJomqShS9e9j8NICV34GwTqjQo85ZyZA5iOiObnCpYwtCOJLfP7CqyP5w== X-ML-Name: ruby-core X-Mail-Count: 74229 Subject: [ruby-core:74229] [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 Tomoyuki Chikanaga. Backport changed from 2.0.0: UNKNOWN, 2.1: DONE, 2.2: REQUIRED, 2.3: REQUIRED to 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE, 2.3: REQUIRED Backported into `ruby_2_2` branch at r54041. `ruby_2_2` branch also requires the same patch with r53932. ---------------------------------------- Bug #11885: [PATCH] IO#readpartial rejects bad args https://bugs.ruby-lang.org/issues/11885#change-57364 * Author: Eric Wong * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: DONE, 2.2: DONE, 2.3: REQUIRED ---------------------------------------- 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/