fs: use stat.st_size only to read regular files
Using st_size to read non-regular files can lead to not reading all the data. PR-URL: https://github.com/iojs/io.js/pull/1074 Reviewed-By:Bert Belder <bertbelder@gmail.com>
parent
0782c249
Please register or sign in to comment