[ruby-cvs:62416] duerst:r55253 (trunk): * string.c: Raise ArgumentError when invalid string is detected in

duerst at ruby-lang.org duerst at ruby-lang.org
Thu Jun 2 10:24:52 JST 2016


duerst	2016-06-02 10:24:52 +0900 (Thu, 02 Jun 2016)

  New Revision: 55253

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

  Log:
    * string.c: Raise ArgumentError when invalid string is detected in
      case mapping methods.
    * enc/unicode.c: Check for invalid string and signal with negative
      length value.
    * test/ruby/enc/test_case_mapping.rb: Add tests for above.
    * test/ruby/test_m17n_comb.rb: Add a message to clarify test failure.

  Modified files:
    trunk/ChangeLog
    trunk/enc/unicode.c
    trunk/string.c
    trunk/test/ruby/enc/test_case_mapping.rb
    trunk/test/ruby/test_m17n_comb.rb


More information about the ruby-cvs mailing list