1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* pack.c (pack_pack): remove unnecessary negative value check.

[ruby-dev:22329]

* io.c (rb_io_ungetc): need fflush before ungetc if write buffer
  is filled. [ruby-dev:22330]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-12-23 10:02:17 +00:00
parent d5ae9837ff
commit dbc5af97c7
5 changed files with 18 additions and 12 deletions

View file

@ -18,7 +18,7 @@ module REXML
# Convert to UTF-8
def decode(str)
str.unpack('C*').pack('U*')
b str.unpack('C*').pack('U*')
end
EOL
end