d87c83566c8411c16098dcc09ac56cce6007f9c6 |
|
21-Nov-2015 |
Sen Jiang <senj@google.com> |
Various fixes in bspatch and File class. bspatch should add diff block and old file. Fix crash on free(new_buf). open() in bionic needs mode to be set if O_CREAT. Fix typo in Seek(). Wrong GetSize() for regular file. Bug: 24478450 Test: Delta update passes filesystem verification on target partition. Change-Id: Ie53b7cf2b7467fb2cf78762d41e7f65674afa969
/external/bsdiff/file.cc
|
daf35169e3fa51cc9ff468f12acd435a9b075266 |
|
15-Oct-2015 |
Alex Deymo <deymo@google.com> |
FileInterface: Implement GetSize(). Implemented a method to get the size of the FileInterface object directly. Bug: 24478450 Change-Id: I9aab80b33cc554551ce79bfee52e94e8e04775db Test: make all test && ./unittest
/external/bsdiff/file.cc
|
03f1debab429e673ba5e9e317c5a04e36e850cef |
|
13-Oct-2015 |
Alex Deymo <deymo@google.com> |
bspatch: Use a C++ interface for file access. This patch moves the exfile.cc implementation to a C++ class with an abstract interface of a file. The implementation of exfile.cc, renamed to extents_file.cc, now uses C++ STL classes and has unittests to test its core functionality. Bug: 24478450 Test: Unittests added. make all test -j5 && ./unittests Change-Id: I8d8f07150ad2ea465c55b5178ca9fbab49185eea
/external/bsdiff/file.cc
|