1 update_engine\payload_consumer/delta_performer.h:193: // |*cbytes_p| and decreases |*count_p| by the actual number of bytes copied,
// Appends up to |*count_p| bytes from |*bytes_p| to |buffer_|, but only to
// the extent that the size of |buffer_| does not exceed |max|. Advances
// |*cbytes_p| and decreases |*count_p| by the actual number of bytes copied,
// and returns this number.
size_t CopyDataToBuffer(const char** bytes_p, size_t* count_p, size_t max);
patch: cbytes_p -> bytes_p
2 update_engine\common\action_processor.cc
void ActionProcessor::ActionComplete(AbstractAction* actionptr,
ErrorCode code) {
current_action_->ActionCompleted(code);
patch: \\ current_action_->ActionCompleted(code);
原文:https://www.cnblogs.com/codeking100/p/14721113.html