Fix S_IRUSR/S_IWUSR constants on mac. Closes #726

This commit is contained in:
Brian Anderson
2011-11-16 10:59:48 -08:00
parent 9b89b0cffd
commit f157d0b32c
3 changed files with 2 additions and 15 deletions

View File

@@ -42,8 +42,8 @@ mod libc_constants {
const O_TEXT: int = 0; // nonexistent in darwin libc
const O_BINARY: int = 0; // nonexistent in darwin libc
const S_IRUSR: uint = 1024u;
const S_IWUSR: uint = 512u;
const S_IRUSR: uint = 256u;
const S_IWUSR: uint = 128u;
}
// FIXME turn into constants