[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:02006] Re: slice! ate my machine!

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-18 16:07:32 UTC
List: ruby-talk #2006
Hi,

In message "[ruby-talk:01999] slice! ate my machine!"
    on 00/03/17, Dave Thomas <Dave@thomases.com> writes:

|Don't try this one unless you have a spare shell window open and are
|quick at typing 'kill -9 nnnn'!

Sorry, here's the patch.

--- string.c.sav	Wed Feb  2 08:51:02 2000
@@ -837,3 +893,3 @@
 
-    if (len != RSTRING(val)->len) {
+    if (RSTRING(val)->len != len && RSTRING(val)->len > beg + len) {
 	memmove(RSTRING(str)->ptr + beg + RSTRING(val)->len,

In This Thread