sbt/sbt — pull request #945 by mustaghattack (2013-11-01 10:36:39+00:00)
Title: avoid deadlock in ConsoleOut.systemOutOverwrite

System.out can be reset after being captured by `val lockObject`.
Then locking `lockObject` and calling `println()` could lead to a
deadlock.