Skip to content

Commit

Permalink
Merge pull request #3654 from djkoloski/correct_fuchsia_mode_constants
Browse files Browse the repository at this point in the history
Correct types of mode bit constants on Fuchsia
  • Loading branch information
JohnTitor authored Apr 16, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
2 parents 12fda3e + 0338155 commit 005ae8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fuchsia/mod.rs
Original file line number Diff line number Diff line change
@@ -1334,9 +1334,9 @@ pub const GRPQUOTA: ::c_int = 1;

pub const SIGIOT: ::c_int = 6;

pub const S_ISUID: ::c_int = 0x800;
pub const S_ISGID: ::c_int = 0x400;
pub const S_ISVTX: ::c_int = 0x200;
pub const S_ISUID: ::mode_t = 0o4000;
pub const S_ISGID: ::mode_t = 0o2000;
pub const S_ISVTX: ::mode_t = 0o1000;

pub const IF_NAMESIZE: ::size_t = 16;
pub const IFNAMSIZ: ::size_t = IF_NAMESIZE;

0 comments on commit 005ae8d

Please sign in to comment.