Skip to content

Commit

Permalink
Auto merge of #503 - TethysSvensson:fix-mode, r=gnzlbg
Browse files Browse the repository at this point in the history
Set the type for S_ISUID, S_ISGID and S_ISVTX correctly
  • Loading branch information
bors committed May 25, 2019
2 parents c6306c1 + 457b0f9 commit ae24e22
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 @@ -229,9 +229,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 ae24e22

Please sign in to comment.