[ruby-core:74650] [Ruby trunk Bug#11885] [PATCH] IO#readpartial rejects bad args

From: naruse@...
Date: 2016-03-29 04:57:41 UTC
List: ruby-core #74650
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/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next