Redefine git_fread, git_fwrite to transfer the whole unit
We never want to accept a short read or a short write when transferring data to or from a local file. Either the entire read (or write) completes or the operation failed and we will not recover gracefully from it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Showing
Please
register
or
sign in
to comment