[#64517] Fw: Re: Ruby and Rails to become Apache Incubator Project — Tetsuya Kitahata <kitahata@99.alumni.u-tokyo.ac.jp>

What do you think? >> Ruby developers

13 messages 2014/08/23

[#64615] [ruby-trunk - Feature #10181] [Open] New method File.openat() — oss-ruby-lang@...

Issue #10181 has been reported by Technorama Ltd..

10 messages 2014/08/28
[#64616] Re: [ruby-trunk - Feature #10181] [Open] New method File.openat() — Eric Wong <normalperson@...> 2014/08/28

I like this feature.

[#64671] Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...>

Why this fix solve your problem?

9 messages 2014/08/30
[#64672] Re: Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...> 2014/08/30

(2014/08/30 8:50), SASADA Koichi wrote:

[ruby-core:64679] Re: [ruby-trunk - Bug #10101] Zlib::GzipReader produce different outputs for different methods applied

From: Eric Wong <normalperson@...>
Date: 2014-08-30 23:57:03 UTC
List: ruby-core #64679
nagachika00@gmail.com wrote:
> I don't have time to investigate this right now.
> And zlib has no maintainer according to
> https://bugs.ruby-lang.org/projects/ruby/wiki/MaintainersStdlib
> Are there anyone who can handle this?

Hi, r47327 should fix this:
------------------------------------------------------------------------
r47327 | normal | 2014-08-30 23:53:28 +0000 (Sat, 30 Aug 2014) | 18 lines

zlib: GzipReader#rewind preserves ZSTREAM_FLAG_GZFILE

* ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
  [Bug #10101]

* test/zlib/test_zlib.rb (test_rewind): test each_byte

We must preserve the ZSTREAM_FLAG_GZFILE flag to prevent
zstream_detach_buffer from:

a) returning Qnil and breaking out of the `each_byte' loop
b) yielding a large string to each_byte

Note: the test case in bug report takes a long time.  I found this
bug because I noticed the massive time descrepancy between
`each_byte' and `readbyte' loop before this patch.  With this patch,
`each_byte' and `readbyte' both take very long.
------------------------------------------------------------------------

I should be able to help out on zlib in the future (and many bugs
reproducible without graphical or proprietary dependency).

In This Thread

Prev Next