mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
Fixed typo in constant value #1165
This commit is contained in:
parent
d335d1a169
commit
378652f885
|
@ -35,7 +35,7 @@ mod libc_constants {
|
|||
const O_RDWR: int = 2;
|
||||
const O_APPEND: int = 8;
|
||||
const O_CREAT: int = 512;
|
||||
const O_EXCL: int = 248;
|
||||
const O_EXCL: int = 2048;
|
||||
const O_TRUNC: int = 1024;
|
||||
const O_TEXT: int = 0; // nonexistent in darwin libc
|
||||
const O_BINARY: int = 0; // nonexistent in darwin libc
|
||||
|
|
Loading…
Reference in a new issue