diff options
author | Michael J. Bishop <mbtyke@gmail.com> | 2013-09-17 13:08:02 -0400 |
---|---|---|
committer | Michael J. Bishop <mbtyke@gmail.com> | 2013-09-17 13:08:02 -0400 |
commit | 8c867e3a4646dadf6922907543103ccf9a11fd75 (patch) | |
tree | ae87d513826db36774618fc9c7c7833f2893c60c /tests/hello_function.cpp | |
parent | c72022ee3788281dd764782eb51395e322efb1bc (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 'tests/hello_function.cpp')
0 files changed, 0 insertions, 0 deletions