From fd9b41c873bbb0a4bc62297291c43a4355466c90 Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Fri, 4 May 2018 16:11:56 +0000 Subject: [Zucchini] Format change: PatchElementHeader: Group fields by "old" and "new". Previously PatchElementHeader members were ordered by: [old_offset, new_offset, old_length, new_length]. This CL changes the order to [old_offset, old_length, new_offset, new_length] to be consistent with PatchHeader's grouping by "old" and "new". Also improve comments in patch_read_write_unittest.cc, and fix input value in PatchElementTest.WrongExtraData. Change-Id: I0dab56b7de1ba99f0a2f686dfebdf422a9d1c3b0 Reviewed-on: https://chromium-review.googlesource.com/1043073 Commit-Queue: Samuel Huang Reviewed-by: Greg Thompson Cr-Commit-Position: refs/heads/master@{#556076} NOKEYCHECK=True GitOrigin-RevId: cfb444ca0a5d494fc7e7beb74b0481249249671a --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 19f8cd6..42f3b3e 100644 --- a/README.md +++ b/README.md @@ -209,8 +209,8 @@ PatchElement self contained. Name | Format | Description --- | --- | --- old_offset | uint32 | Starting offset of the element in old file. -new_offset | uint32 | Starting offset of the element in new file. old_length | uint32 | Length of the element in old file. +new_offset | uint32 | Starting offset of the element in new file. new_length | uint32 | Length of the element in new file. exe_type | uint32 | Executable type for this unit, see `enum ExecutableType`. -- cgit v1.2.3