Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) Check for eof (shouldn't happen, but if it does we'll fall into an infinite loop). 2) Use fatal instead of assert (will work if NDEBUG is ever defined and provides better diagnostics). 3) Ignore errors from close since they shouldn't matter. Closes rust-lang#3679.
- Loading branch information