Rename sunos to solaris

This commit is contained in:
Nikita Baksalyar
2016-01-28 14:02:31 +03:00
parent 6d07b68f5e
commit e5da5d59f8
29 changed files with 55 additions and 57 deletions

View File

@@ -93,7 +93,7 @@ fn os2c(s: &OsStr) -> CString {
pub struct ExitStatus(c_int);
#[cfg(any(target_os = "linux", target_os = "android",
target_os = "nacl", target_os = "sunos"))]
target_os = "nacl", target_os = "solaris"))]
mod status_imp {
pub fn WIFEXITED(status: i32) -> bool { (status & 0xff) == 0 }
pub fn WEXITSTATUS(status: i32) -> i32 { (status >> 8) & 0xff }