[ruby-cvs:66710] usa:r59532 (ruby_2_3): merge revision(s) 59333, 59337: [Backport #13616]

usa at ruby-lang.org usa at ruby-lang.org
Wed Aug 9 17:08:01 JST 2017


usa	2017-08-09 17:08:01 +0900 (Wed, 09 Aug 2017)

  New Revision: 59532

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59532

  Log:
    merge revision(s) 59333,59337: [Backport #13616]
    
    Zlib::GzipReader#pos underflows after calling #ungetbyte or #ungetc at start of file [Bug #13616]
    
    patched by Andrew Haines <andrew at haines.org.nz> [ruby-core:81488]
    zlib.c: fix unnormalized Fixnum
    
    * ext/zlib/zlib.c (rb_gzfile_total_out): cast to long not to
      result in an unsigned long to normalized to Fixnum on LLP64
      platforms.  [ruby-core:81488]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ext/zlib/zlib.c
    branches/ruby_2_3/test/zlib/test_zlib.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list