Skip to content

Commit f5024a6

Browse files
committed
unistd: remove gate from mkfifo
1 parent 46c2e6d commit f5024a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/unistd.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,6 @@ pub fn mkdir<P: ?Sized + NixPath>(path: &P, mode: crate::sys::stat::Mode) -> Res
812812
/// }
813813
/// ```
814814
#[inline]
815-
#[cfg(not(target_os = "redox"))] // RedoxFS does not support fifo yet
816815
pub fn mkfifo<P: ?Sized + NixPath>(path: &P, mode: crate::sys::stat::Mode) -> Result<()> {
817816
let res = path.with_nix_path(|cstr| unsafe {
818817
libc::mkfifo(cstr.as_ptr(), mode.bits() as libc::mode_t)

0 commit comments

Comments
 (0)