diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-02 12:28:21 +0200 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-02 12:28:21 +0200 |
commit | 53ee0dca393f6b7c4c0811a4a5b97e56f44083ce (patch) | |
tree | aa758aa16dd36ed5c28928aabad6de1dcad03dbe /src | |
parent | 16fcbd5c4247c14beeb8d0447ac84666ac8e65f6 (diff) |
fix typo in library; fixes dlfcn tests
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index d24ae1ed..b9da8b3c 100644 --- a/src/library.js +++ b/src/library.js @@ -2732,7 +2732,7 @@ LibraryManager.library = { flags = {{{ cDefine('O_WRONLY') }}}; } flags |= {{{ cDefine('O_CREAT') }}}; - flags |= {{{ cDefine('O_TRUNK') }}}; + flags |= {{{ cDefine('O_TRUNC') }}}; } else if (mode[0] == 'a') { if (mode.indexOf('+') != -1) { flags = {{{ cDefine('O_RDWR') }}}; |