Permalink
Browse files

Fixing bug in mode flags.

  • Loading branch information...
1 parent b65aee4 commit 5c64384814c16e9651f29c75574c1f0cc6b3a4ea @Gozala Gozala committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fs.js
View
@@ -49,7 +49,7 @@ const PR_UINT32_MAX = 0xfffffff;
// http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prio.h#615
const PR_RDONLY = 0x01;
const PR_WRONLY = 0x02;
-const PR_RDWR = 0x02;
+const PR_RDWR = 0x04;
const PR_CREATE_FILE = 0x08;
const PR_APPEND = 0x10;
const PR_TRUNCATE = 0x20;

0 comments on commit 5c64384

Please sign in to comment.