ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nagachika00@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:74229] [Ruby trunk Bug#11885] [PATCH] IO#readpartial rejects bad args
Date: Tue, 08 Mar 2016 19:14:20 +0000	[thread overview]
Message-ID: <redmine.journal-57364.20160308191420.b5085b4edaf68101@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-11885.20151227055603@ruby-lang.org

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/

  parent reply	other threads:[~2016-03-08 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11885.20151227055603@ruby-lang.org>
2015-12-27  5:56 ` [ruby-core:72504] [Ruby trunk - Bug #11885] [Open] [PATCH] IO#readpartial rejects bad args normalperson
2016-02-25  9:16 ` [ruby-core:73978] [Ruby trunk Bug#11885] " usa
2016-03-08 19:14 ` nagachika00 [this message]
2016-03-08 20:12 ` [ruby-core:74231] " nagachika00
2016-03-08 20:28 ` [ruby-core:74233] " nagachika00
2016-03-29  4:57 ` [ruby-core:74650] " naruse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-57364.20160308191420.b5085b4edaf68101@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).