diff options
author | Michael Bishop <mbtyke@gmail.com> | 2013-07-18 14:57:57 -0400 |
---|---|---|
committer | Michael Bishop <mbtyke@gmail.com> | 2013-07-18 14:57:57 -0400 |
commit | 4962ed9eb8ae7eb76920644e2e39817eac9ad219 (patch) | |
tree | cb4e008e8f8d91aefaaac501e2f04a4d5b17ba3d /tools/test-js-optimizer.js | |
parent | 646e5af8883c87e4c9b8e709c18fb65520199dc6 (diff) |
Fixes in pread()
The bug occurs when pread() doesn't return 0 when asked to read an
offset beyond its buffer.
This behavior is explicitly documented at:
http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html
> If the starting position is at or after the end-of-file, 0
> shall be returned
Diffstat (limited to 'tools/test-js-optimizer.js')
0 files changed, 0 insertions, 0 deletions