The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-fs-readfile-pipe.js @ 6f043940

History | View | Annotate | Download (2.06 KB)

# Date Author Comment
1d3d02c7 06/20/2012 01:28 PM isaacs

Fix fs.readfile('/dev/stdin')

There is no need for fs.readFile() to be using pread rather than read.
The default semantics of read() are such that subsequent reads are where
we want them anyway.