General

Profile

raorn (Alexey Froloff)

  • Login: raorn
  • Registered on: 05/08/2009
  • Last sign in: 12/28/2009

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

11/18/2009

08:08 AM Ruby Bug #2379: String#[] returns invalid values for short multibyte strings
=begin
This happens for all UTF-8 strings shorter than sizeof(VALUE) bytes and len greater than sizeof(VALUE)*2. Problem lies somewhere in str_utf8_nth() function.
=end
raorn (Alexey Froloff)
07:26 AM Ruby Bug #2379: String#[] returns invalid values for short multibyte strings
=begin
"\u{444}" is better test string.
=end
raorn (Alexey Froloff)
07:06 AM Ruby Bug #2379 (Closed): String#[] returns invalid values for short multibyte strings
=begin
In UTF-8 locale command
ruby -e 'print "ะน"[0,30]' | od -t x1
prints:

0000000 d0 b9 00 00
for ruby 1.9.1p333 (2009-11-02) [i586-linux-gnu]

0000000 d0 b9 00 00 00 00 00 00
for ruby 1.9.1p333 (2009-11-02) [x86_64-l...
raorn (Alexey Froloff)

05/08/2009

09:01 PM Ruby Bug #1299: Build failure on i586
=begin
Attached patch seems to fix this problem.
=end
raorn (Alexey Froloff)
08:05 PM Ruby Bug #1299: Build failure on i586
=begin
This happens if compiling with -D_FORTIFY_SOURCE=2 (default CFLAGS for Fedora I guess?) or -D_FORTIFY_SOURCE=1. Can confirm on branches/ruby_1_9_1 revision 23343.
=end
raorn (Alexey Froloff)

Also available in: Atom