From: Jeremy Henty Date: 2002-06-04T00:58:16+09:00 Subject: Re: Segfaulting Ruby by abusing PStore In article <1023111679.725927.2329.nullmailer@picachu.netlab.jp>, Yukihiro Matsumoto wrote: > In message "Segfaulting Ruby by abusing PStore" > on 02/06/03, Jeremy Henty writes: > >|OK, it's a dirty trick to change class definitions behind PStore's >|back. If I run these two scripts, the second segfaults, saying: > > It cannot be fixed fundamentally in 1.6 ... I suspected that might be the case, but didn't know enough about Marshal/Dump internals to judge. It's not a problem: I have no need for Ruby to survive this sort of abuse. > Don't tease my poor baby too much. It was a mistake on my part: I was merrily rewriting my application and forgot I was PStore-ing some of the classes that I had changed. BTW I think PStore is great! Being able to add persistence to an application with just a few extra lines of code is fantastic. Regards, Jeremy Henty -- http://www.rubygarden.com/ruby?JeremyHenty Ruby: programmer's best friend -- John Robson