Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some missing SFlags #359

Merged
merged 3 commits into from
Apr 20, 2016
Merged

Add some missing SFlags #359

merged 3 commits into from
Apr 20, 2016

Conversation

arcnmx
Copy link
Contributor

@arcnmx arcnmx commented Apr 19, 2016

Also reordered just because I wasn't sure where to insert the new ones.

@utkarshkukreti
Copy link
Contributor

The libc crate seems to have the values of these flags. Maybe you should just use those?

const S_IRWXO = libc::S_IRWXO,
const S_IROTH = libc::S_IROTH,
const S_IWOTH = libc::S_IWOTH,
const S_IXOTH = libc::S_IXOTH,

const S_ISUID = 0o4000,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arcnmx You missed these 3. r=me after you replace these :)

@arcnmx
Copy link
Contributor Author

arcnmx commented Apr 20, 2016

Oop I didn't look closely, they were the wrong type! Let's see if this works o:

@homu r=utkarshkukreti

@homu
Copy link
Contributor

homu commented Apr 20, 2016

📌 Commit 70362e2 has been approved by utkarshkukreti

homu added a commit that referenced this pull request Apr 20, 2016
Add some missing SFlags

Also reordered just because I wasn't sure where to insert the new ones.
@homu
Copy link
Contributor

homu commented Apr 20, 2016

⌛ Testing commit 70362e2 with merge fc764da...

@homu
Copy link
Contributor

homu commented Apr 20, 2016

☀️ Test successful - status

@homu homu merged commit 70362e2 into nix-rust:master Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants