.Dd May 18, 2003 .Dt BSDIFF 1 .Os FreeBSD .Sh NAME .Nm bsdiff .Nd generate a patch between two binary files .Sh SYNOPSIS .Nm .Ao Ar oldfile Ac Ao Ar newfile Ac Ao Ar patchfile Ac .Sh DESCRIPTION .Nm compares .Ao Ar oldfile Ac to .Ao Ar newfile Ac and writes to .Ao Ar patchfile Ac a binary patch suitable for use by bspatch(1). When .Ao Ar oldfile Ac and .Ao Ar newfile Ac are two versions of an executable program, the patches produced are on average a factor of five smaller than those produced by any other binary patch tool known to the author. .Pp .Nm uses memory equal to 17 times the size of .Ao Ar oldfile Ac , and requires an absolute minimum working set size of 8 times the size of oldfile. .Sh SEE ALSO .Xr bspatch 1 .Sh AUTHORS .An Colin Percival Aq cperciva@daemonology.net