Closed Bug 328742 Opened 20 years ago Closed 20 years ago

MAR files (update.manifest) cannot be reliably recreated exactly

Categories

(Toolkit :: Application Update, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mkaply, Unassigned)

Details

Attachments

(3 files)

I'm investigating creating my own versions of MAR files and I found a 15 byte difference in my update.manifest file. The difference was that the order of files used in the release manifest seemed completely random (although it was 15 bytes smaller than mine) I don't think this random order was done deliberately to save 15 bytes - I believe it was file system dependent. In order to ensure that the MAR files can be recreated reliably, we should sort the results: find . -type f ! -name "channel-prefs.js" ! -name "update.manifest" | sed 's/\.\/\(.*\)/"\1"/' | sort
Attached patch Fix as describedSplinter Review
Attachment #213334 - Flags: review?(darin)
Attachment #213334 - Flags: review?(darin) → review+
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: