[macruby-changes] [MacRuby/MacRuby] b1f457: fix #1295, splice! was not resetting the flags ind...

noreply at github.com noreply at github.com
Thu May 26 07:43:38 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/MacRuby/MacRuby

Commit: b1f457a7533d27cc2945f0472d19583811aa32d7
    https://github.com/MacRuby/MacRuby/commit/b1f457a7533d27cc2945f0472d19583811aa32d7
Author: Vincent Isambart <vincent.isambart at gmail.com>
Date:   2011-05-26 (Thu, 26 May 2011)

Changed paths:
  M string.c

Log Message:
-----------
fix #1295, splice! was not resetting the flags indicating if the string was pure ASCII

It also fixes the following bug:
./miniruby -e 'framework "Cocoa"; puts NSString.stringWithString("あ")'
-e:1:in `<main>': cannot coerce NSString 0x200ad43a0 as UTF-8 data (ArgumentError)
that was due to passing an incorrect parameter to CFStringGetLength




More information about the macruby-changes mailing list