Fixed typo in constant value #1165

This commit is contained in:
Stefan Plantikow 2011-11-16 02:34:58 +01:00 committed by Brian Anderson
parent d335d1a169
commit 378652f885

View 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