mozilla/rust — pull request #9096 by huonw (2013-09-10 15:34:13+00:00)
Title: Make linenoise safe

Wrap calls into linenoise in a mutex so that the functions don't have to be `unsafe` any more (fixes #3921), and stop leaking every line that linenoise reads.