Project

General

Profile

Actions

Bug #11885

closed

[PATCH] IO#readpartial rejects bad args

Added by normalperson (Eric Wong) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:72504]

Description

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) 0001-IO-readpartial-rejects-bad-args.patch normalperson (Eric Wong), 12/27/2015 05:56 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0