Handle partial read or write.
authorAdam Markey <adam@etinternational.com>
Tue, 9 Oct 2012 09:05:53 +0000 (11:05 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 10 Oct 2012 08:56:42 +0000 (10:56 +0200)
commit6a1ed3836d644086a823138c405b48edd38479a3
tree7343926dcb9c758f137b2389ada7807e58134f08
parent78dec228b3cfb2f9300cd0b682ebf416c9674c91
Handle partial read or write.

Ran into a situation where pread was returning less data than requested for
remote files on a networked filesystem. This patch modifies the IO wrappers
to request the remaining data as long as no real errors occured.

Signed-off-by: Adam Markey <adam@etinternational.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
lib/ChangeLog
lib/system.h