mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-14 04:59:00 +03:00
lib/deltas: Fix change to use pread() in write opcode
Fixes: 93457071cb5d47c08b60d3244f9632725634010a "lib/deltas: Use pread() instead of lseek()+read()" Caught this when trying to test alex's patch locally. I am going to review our static delta pulls and try to get something more comprehensive locally. But in the meantime this patch is clearly right. Closes: #1312 Approved by: jlebon
This commit is contained in:
parent
de0e015908
commit
0d259ac401
@ -745,6 +745,7 @@ dispatch_write (OstreeRepo *repo,
|
||||
return FALSE;
|
||||
|
||||
content_size -= bytes_read;
|
||||
content_offset += bytes_read;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user