Skip to content
Myr

RedoxOS support.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jose Narvaez · committed by David Peter · parent d2d2c31 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/output.rs+2 added-2 removed
3 unmodified lines
4use std::{fs, process};5use std::io::{self, Write};6use std::ops::Deref;7use std::path::{self, Path, PathBuf, Component};8#[cfg(unix)]8#[cfg(any(unix, target_os = "redox"))]9use std::os::unix::fs::PermissionsExt;1011use ansi_term;12
88 unmodified lines
101 None102 }103}104105#[cfg(unix)]105#[cfg(any(unix, target_os = "redox"))]106fn is_executable(md: &fs::Metadata) -> bool {107 md.permissions().mode() & 0o111 != 0108}109
4 unmodified lines