Skip to content
Myr

Removed unnecessary exclusion of Redox in cond-compilation and narrowed what we import from .

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 715b075 · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:src/exec/ticket.rs+3 added-3 removed
28 unmodified lines
29 }3031 /// Executes the command stored within the ticket, and32 /// clearing the command's buffer when finished.'33 #[cfg(not(all(unix, not(target_os = "redox"))))]33 #[cfg(not(unix))]34 pub fn then_execute(self) {35 use std::process::Stdio;36 use std::io::Write;37
24 unmodified lines
62 // Clear the buffer for later re-use.63 self.command.clear();64 }6566 #[cfg(all(unix, not(target_os = "redox")))]66 #[cfg(all(unix))]67 pub fn then_execute(self) {68 use libc::*;68 use libc::{close, dup2, pipe, STDERR_FILENO, STDOUT_FILENO};69 use std::fs::File;70 use std::os::unix::process::CommandExt;71 use std::os::unix::io::FromRawFd;72
61 unmodified lines