]> git.lizzy.rs Git - rust.git/commit
std: migrate the errno -> IoError converter from libnative.
authorHuon Wilson <dbau.pp+github@gmail.com>
Mon, 24 Mar 2014 13:39:40 +0000 (00:39 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Tue, 1 Apr 2014 09:46:09 +0000 (20:46 +1100)
commit119289b0f2359472ff07b4fac14188c3dc37b63c
treef14d1573479651a6f72a1b4e85fc955daffee247
parentc329a17461b29da3c9f004154d32e4f153d727df
std: migrate the errno -> IoError converter from libnative.

This also adds a direct `errno` -> `~str` converter, rather than only
being possible to get a string for the very last error.
src/libnative/io/addrinfo.rs
src/libnative/io/mod.rs
src/libnative/io/net.rs
src/libnative/io/process.rs
src/libstd/io/mod.rs
src/libstd/os.rs