Files
rust/src/libstd
Josh Stone 79fb5522bd std: clear errno before readdir, then check it (solaris)
A `NULL` from `readdir` could be the end of stream or an error.  The
only way to know is to check `errno`, so it must be set to a known value
first, like a 0 that POSIX will never use.

This patch adds `set_errno`, uses it to clear the value before calling
`readdir`, then checks it again after to see the reason for a `NULL`.
2016-07-11 21:43:53 -07:00
..
2016-06-19 15:14:51 +03:00
2016-06-15 13:06:48 +03:00
2016-07-06 09:29:15 -07:00
2016-06-21 23:30:15 +01:00
2016-07-03 10:02:24 +02:00
2016-07-06 01:26:24 +02:00