diff options
| author | Stefan Plantikow <stefan.plantikow@googlemail.com> | 2011-11-16 02:34:58 +0100 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-15 18:02:45 -0800 |
| commit | 378652f885b349a6296f757c19ecf489e8f481fc (patch) | |
| tree | 5066327ef39a37d51d08b186c9a33c65f8d96724 | |
| parent | d335d1a1699ed66d44d3efa03a46762c0473f316 (diff) | |
| download | rust-378652f885b349a6296f757c19ecf489e8f481fc.tar.gz rust-378652f885b349a6296f757c19ecf489e8f481fc.zip | |
Fixed typo in constant value #1165
| -rw-r--r-- | src/lib/macos_os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/macos_os.rs b/src/lib/macos_os.rs index b5accbfa1e6..9bc1fab3c0e 100644 --- a/src/lib/macos_os.rs +++ b/src/lib/macos_os.rs @@ -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 |
