[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Typo in example comment for recent string.c v 1.274 commit

From: "Zev Blut" <rubyzbibd@...>
Date: 2006-09-21 00:59:12 UTC
List: ruby-core #8898
Hello,

In the CVS commit for ruby/string.c v 1.274, I think there is a typo
for the example of string.partition.

I think this line should change from:

  *     "hello".partition("x")         #=> ["helo", "", ""]

to:

  *     "hello".partition("x")         #=> ["hello", "", ""]


Zev


In This Thread

Prev Next