Changes

Jump to: navigation, search

Software Update:MAR

35 bytes removed, 21:25, 14 August 2010
Source Code: link to hg source code, use Template:bug
== Source Code ==
The source code can currently be found under [http://hg.mozilla.org/mozilla-central/file/tip/modules/libmar modules/libmar on the SOFTWARE_UPDATE_20050428_BRANCH branch ] in the Mozilla CVS 's source repository[[Mercurial]].
See [https://bugzilla.mozilla.org/show_bug.cgi?id=296303 {{bug |296303]}}
== Why not use ZIP or some other standard file format? ==
This question was given a fair amount of consideration. Ultimately, we decided to go with a custom file format because using libjar would have required a fair bit of hacking. Writing custom code was a simpler option, and it resulted in less code (mar_read.c is less than 300 lines of code). Moreover, the update system does not need a standard file format. The elements stored in the archive are bzip2 compressed binary diffs, generated using a variation of bsdiff. So, being able to unpack the archive file using standard tools wouldn't be very useful in and of itself.
Confirm
396
edits

Navigation menu