Jonathan Paisley <jp-www / dcs.gla.ac.uk> 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