Subject: [sup-talk] "interning empty string" from sup-sync

From: [email-masked] (William Morgan)
Date: Wed, 13 May 2009 13:55:51 -0700

Reformatted excerpts from Marc Hartstein's message of 2009-05-13:
> /home/magus/src/sup/bin/sup-sync:159:in `intern': interning empty string
> (ArgumentError)
>         from /home/magus/src/sup/bin/sup-sync:159

That's a bug. Turns out String#split doesn't exactly behave how I
thought:

$ irb
>> " a  b c ".split
=> ["a", "b", "c"]
>> " a  b c ".split(/\s+/)
=> ["", "a", "b", "c"]

I've fixed this in next.
-- 
William <wmorgan-sup at masanjin.net>