kripken/emscripten — pull request #1514 by inolen (2013-08-14 05:43:31+00:00)
Title: default to mode 0666 in FS.open

The libc functionality remains as is (since it'll always pass the mode argument to FS.open), however, for users of the JS API I'd like to default the mode to 0666 when creating files (node does the same thing).