Files
node/lib
Nikolai Vavilov 4444e731f2 fs: ensure readFile[Sync] reads from the beginning
It would previously read from the current file position, which can be
non-zero if the `fd` has been read from or written to. This contradicts
the documentation which states that it "reads the entire contents of a
file".

PR-URL: https://github.com/nodejs/node/pull/9699
Fixes: https://github.com/nodejs/node/issues/9671
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
2017-01-14 20:33:18 +02:00
..
2017-01-11 12:55:04 -05:00
2016-10-14 13:37:12 -07:00
2016-10-16 22:01:02 +02:00
2016-11-29 07:33:24 -05:00
2017-01-05 12:33:10 -08:00
2016-10-18 15:38:43 -07:00
2016-11-01 23:40:44 +01:00
2017-01-06 14:36:01 -08:00
2016-10-04 12:17:32 -04:00
2017-01-06 14:36:01 -08:00
…
2016-10-04 12:17:32 -04:00
2016-08-10 23:41:28 +02:00
2017-01-06 14:36:01 -08:00
2016-11-06 20:18:56 +02:00