kripken/emscripten — pull request #303 by radare (2012-03-07 12:43:15+00:00)
Title: fix stdin and stdout on nodejs

newlines where not honored in stdout and hardcoded appended '\n' was breaking printf("foo");
stdin was just not working when running under nodejs. this way it just works for most cases (non interactive)