[#86787] [Ruby trunk Feature#14723] [WIP] sleepy GC — ko1@...

Issue #14723 has been updated by ko1 (Koichi Sasada).

13 messages 2018/05/01
[#86790] Re: [Ruby trunk Feature#14723] [WIP] sleepy GC — Eric Wong <normalperson@...> 2018/05/01

ko1@atdot.net wrote:

[#87095] [Ruby trunk Feature#14767] [PATCH] gc.c: use monotonic counters for objspace_malloc_increase — ko1@...

Issue #14767 has been updated by ko1 (Koichi Sasada).

9 messages 2018/05/17

[ruby-core:87321] [Ruby trunk Bug#14800] Zlib::GzipReader#read does not support 2nd argument

From: okkez000@...
Date: 2018-05-31 14:32:53 UTC
List: ruby-core #87321
Issue #14800 has been reported by okkez (okkez _).

----------------------------------------
Bug #14800: Zlib::GzipReader#read does not support 2nd argument
https://bugs.ruby-lang.org/issues/14800

* Author: okkez (okkez _)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
`Zlib::GzipReader#read` does not support 2nd argument for output buffer.
It is not same as `IO#read` and `StringIO#read`.

It is useful for duck typing to copy both plain files and gzipped files. 

See also
* https://docs.ruby-lang.org/en/2.5.0/Zlib/GzipReader.html#method-i-read
* https://docs.ruby-lang.org/en/2.5.0/IO.html#method-i-read
* https://docs.ruby-lang.org/en/2.5.0/StringIO.html#method-i-read




-- 
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