Julien Palmas wrote:

> Hi Stefan,
> 
> Looks like this is a know bug, and you can find the ticket here
> http://redmine.ruby-lang.org/issues/show/1556
> 
> The ticket was opened on June 2nd, but the bug appeared in the repo at 
> 1.8.7-p83 (unreleased version), which is 5 month old. Hope it will be 
> fixed in the next release.
> 
> In the mean time, you can easily fix it yourself with the simple 2 lines 
> patch detailed at the end of the ticket.
> 
> Regards
> Julien

Ah, good to know that they know. Sadly, I don't speak japanese so I 
wouldn't find that entry.
However, my patch does almost exactly what the patch there does 
(replaces the finalizer with an at_exit hook), but additionally adds the 
ability to save only unique lines, via the IRB.conf[:HISTORY_NO_DUPS] 
config option.

Regards
Stefan
-- 
Posted via http://www.ruby-forum.com/.