[ruby-cvs:72158] nobu:r65058 (trunk): Added comments to rb_setup_fake_str and rb_fstring_new [ci skip]

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Oct 13 18:23:56 JST 2018


nobu	2018-10-13 18:23:56 +0900 (Sat, 13 Oct 2018)

  New Revision: 65058

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

  Log:
    Added comments to rb_setup_fake_str and rb_fstring_new [ci skip]
    
    `ptr` for these functions must refer constant string literals.
    Otherwise, the result string's content can be modified/discarded
    unexpectedly.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list