DescriptionFix a number of issues with determining the type of stdio
* Fix checked mode exception when _getSocketType returns an OSError
* Treat any character device as terminal (this includes /dev/null)
* Fix detecting of file redirection af file
* Don't turn an unkonwn device type into an OSError (wth value for an unknown was -1)
Expanded an existing test to catch some of this.
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9637
Committed: https://code.google.com/p/dart/source/detail?r=20960
Patch Set 1 #Patch Set 2 : Avoid sharing of Dart scripts between different procsess tests #Patch Set 3 : Add fix for Mac OS as well #
Total comments: 4
Patch Set 4 : Addressed review comments #
Messages
Total messages: 4 (0 generated)
|