Skip to content

Commit

Permalink
Auto merge of #57121 - glaubitz:flock-fixes, r=nagisa
Browse files Browse the repository at this point in the history
flock: Use fcntl constants directly from libc crate on Unix targets

Since the values for the fcntl constants can vary from architecture
to architecture, it is better to use the values defined in the libc
crate instead of assigning literals in the flock code which would
make the assumption that all architectures use the same values.

Fixes #57007
  • Loading branch information
bors committed Jan 6, 2019
2 parents e628196 + 1c4823e commit 6b2c311
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 95 deletions.
Loading

0 comments on commit 6b2c311

Please sign in to comment.