Fail. I've ran it repeatedly over and over and it doesn't run forever. It segfaults or exits. But....you did cover a corner case I hadn't considered. Thanks!
https://gist.github.com/zedshaw/81edf35857e137ccd7d3 is the results.
https://gist.github.com/zedshaw/81edf35857e137ccd7d3 is the results.