From: lucsky@... (Luc Heinrich) Date: 2005-05-18T00:55:31+09:00 Subject: Re: IRB, Mac OS X, command-line require via "-r" and Bus Errors Jonathan Paisley wrote: > The quick-fix is to just disable the assignment to $0 in irb.rb - the > first line of IRB.start. > > I've filed a bug report with Apple, number 4121317. Very interesting. So we now know exactly what happens and why it happens. Cool :) But whose bug is it, really ? On one hand, I agree that checking for NULL values in argv should probably be done in CFRuntime.c. But on the other hand, nullifying argv entries in set_arg0 while keeping the argc value intact is really asking for troubles don't you think ? :) -- Luc Heinrich - lucsky@mac.com