From: han.holl@... (Han Holl) Date: 2003-06-20T23:16:01+09:00 Subject: Re: In 1.8.0 nil.to_s is not the same as "" nobu.nokada@softhome.net wrote in message news:<200306201009.h5KA9ekR009612@sharui.nakada.kanuma.tochigi.jp>... > Hi, > > At Fri, 20 Jun 2003 18:13:30 +0900, > Han Holl wrote: > > bug.rb:7: [BUG] Segmentation fault > > ruby 1.8.0 (2003-03-03) [i686-linux] > > Aborted > > Try this patch. > Did that, and now it works properly, but the following no longer functions: module Pql %w{ TRACE DEBUG REQREADER }.each do |el| const_set(el, nil) unless const_defined?(el) end I get: pql_env.rb:5:in `const_defined?': wrong constant name (null) (NameError) For the time being the earlier problem is easier to work around. Cheers, Han Holl