Project

General

Profile

« Previous | Next » 

Revision f4a8004e

Added by usa (Usaku NAKAMURA) over 6 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e