A bsdiff-4.3 version from Google's Chromium web browser
C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.chromium
README.md
goobsdiff.c
goobspatch.c

README.md

A bsdiff-4.3 version from Google's Chromium web browser

This repository contains a modified version of the original bsdiff-4.3 (by Colin Percival) made by Google for use in their Chromium web browser, containing the following changes:

  • Adds uncompressed, gzip (via zlib) and xz compression method to generate the binary diff. The compressor method that generates the best reduction is choosen automatically.
  • Adds SHA1 hashes for old and new files to the binary diff.

This version has some minor changes compared to the Google's chomium version:

  • Code compiles cleanly with -Wall on gcc and clang (linux).
  • Uses OpenSSL's SHA1().