Skip to content

Commit abddbd3

Browse files
committed
Haiku: Fix constants for S_IFIFO and S_IFCHR
1 parent ff63cb5 commit abddbd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/haiku/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,8 @@ pub const O_NOFOLLOW: ::c_int = 0x00080000;
570570
pub const O_NOCACHE: ::c_int = 0x00100000;
571571
pub const O_DIRECTORY: ::c_int = 0x00200000;
572572

573-
pub const S_IFIFO: ::mode_t = 61440;
574-
pub const S_IFCHR: ::mode_t = 49152;
573+
pub const S_IFIFO: ::mode_t = 4096;
574+
pub const S_IFCHR: ::mode_t = 8192;
575575
pub const S_IFBLK: ::mode_t = 24576;
576576
pub const S_IFDIR: ::mode_t = 16384;
577577
pub const S_IFREG: ::mode_t = 32768;

0 commit comments

Comments
 (0)