about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorStefan Plantikow <stefan.plantikow@googlemail.com>2011-11-16 02:34:58 +0100
committerBrian Anderson <banderson@mozilla.com>2011-11-15 18:02:45 -0800
commit378652f885b349a6296f757c19ecf489e8f481fc (patch)
tree5066327ef39a37d51d08b186c9a33c65f8d96724 /src
parentd335d1a1699ed66d44d3efa03a46762c0473f316 (diff)
downloadrust-378652f885b349a6296f757c19ecf489e8f481fc.tar.gz
rust-378652f885b349a6296f757c19ecf489e8f481fc.zip
Fixed typo in constant value #1165
Diffstat (limited to 'src')
-rw-r--r--src/lib/macos_os.rs2
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