You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested various versions of vanilla node, using a large json file, and the underscore-cli print utility.
When I redirect a large underscore print to a file using the latest version of node (v5.5.0, released 2016-01-21, installed via n latest), the file is truncated to 65536 bytes as described.
When I redirect a large underscore print to a file using the older post-io.js version of node (v4.0.0, released 2015-09-08, installable via n 4.0), the file is also truncated to 65536 bytes.
When I redirect a large underscore print to a file using the latest pre-io.js version of node (v0.12.9, released 2015-12-03, installable via n 0.12), the file is written fully (nearly three times as large).
This suggests that something happened in the great merge of io.js, either directly or indirectly.
Since node used to handle stream redirection fine, this might be an upstream issue in node?
The text was updated successfully, but these errors were encountered:
And see nodejs/node#1074 for a partial fix, specifically for the reading non-regular files bug.
But that’s mostly just the truncation problem reading from /dev/stdin. The rw module also fixes the UNKNOWN error when trying to writeFileSync to stdout and the PIPE error when piping to head (or any downstream process that terminates without reading all of the input).
I tested various versions of vanilla node, using a large json file, and the underscore-cli print utility.
This suggests that something happened in the great merge of io.js, either directly or indirectly.
Since node used to handle stream redirection fine, this might be an upstream issue in node?
The text was updated successfully, but these errors were encountered: