[ruby-cvs:72902] shyouhei:r65802 (trunk): io.c: ungetbyte silently ignores upper bits

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Nov 19 17:10:48 JST 2018


shyouhei	2018-11-19 17:10:48 +0900 (Mon, 19 Nov 2018)

  New Revision: 65802

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

  Log:
    io.c: ungetbyte silently ignores upper bits
    
    The behaviour of IO#ungetbyte has been depending on the width of
    Fixnums.  Fixnums should be invisible nowadays.  It must be a
    bug. Fix [Bug #14359]

  Modified files:
    trunk/io.c
    trunk/spec/ruby/core/io/ungetbyte_spec.rb


More information about the ruby-cvs mailing list