From: dtrg Date: Fri, 20 Aug 2010 19:27:09 +0000 (+0000) Subject: Fixed definitions of O_* flags. X-Git-Tag: release-6-0-pre-5~55 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=085f346f8c80be05b58fa90375e28b208a6e122e;p=ack.git Fixed definitions of O_* flags. --- diff --git a/plat/linux386/include/unistd.h b/plat/linux386/include/unistd.h index 5cbdc1b5d..1002da580 100644 --- a/plat/linux386/include/unistd.h +++ b/plat/linux386/include/unistd.h @@ -43,9 +43,9 @@ enum O_WRONLY = 1, O_RDWR = 2, - O_CREAT = 0x10, - O_TRUNC = 0x20, - O_APPEND = 0x40 + O_CREAT = 0x40, + O_TRUNC = 0x200, + O_APPEND = 0x400 }; extern int open(const char* path, int access, ...);