]> git.lizzy.rs Git - rust.git/commitdiff
Fixed typo in constant value #1165
authorStefan Plantikow <stefan.plantikow@googlemail.com>
Wed, 16 Nov 2011 01:34:58 +0000 (02:34 +0100)
committerBrian Anderson <banderson@mozilla.com>
Wed, 16 Nov 2011 02:02:45 +0000 (18:02 -0800)
src/lib/macos_os.rs

index b5accbfa1e63de842898ffe84af956d1c588df46..9bc1fab3c0e7204137b764b2903b76f900e19a65 100644 (file)
@@ -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