Skip to content

Commit

Permalink
Set the type for S_ISUID, S_ISGID and S_ISVTX correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
TethysSvensson committed Mar 3, 2019
1 parent 8d94e00 commit 457b0f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,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 = 0x800;
pub const S_ISGID: ::mode_t = 0x400;
pub const S_ISVTX: ::mode_t = 0x200;

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

0 comments on commit 457b0f9

Please sign in to comment.