mozilla/rust — pull request #6010 by Dretch (2013-04-22 21:12:14+00:00)
Title: Fix leaks/undefined behavour in core::run on windows, and remove os::waitpid

This fixes #5976.

It also removes `os::waitpid` in favour of (the existing) `run::waitpid`. I included this change because I figured it is kind of related.

r?