From 378652f885b349a6296f757c19ecf489e8f481fc Mon Sep 17 00:00:00 2001 From: Stefan Plantikow Date: Wed, 16 Nov 2011 02:34:58 +0100 Subject: [PATCH] Fixed typo in constant value #1165 --- src/lib/macos_os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/macos_os.rs b/src/lib/macos_os.rs index b5accbfa1e63..9bc1fab3c0e7 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