Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BSPATCH(1)		     General Commands Manual		      BSPATCH(1)

NAME
     bspatch -- apply a patch built with bsdiff(1)

SYNOPSIS
     bspatch oldfile newfile patchfile

DESCRIPTION
     The  bspatch  utility  generates  newfile	from oldfile and patchfile where
     patchfile is a binary patch built by bsdiff(1).

     The bspatch utility uses memory equal to the size of oldfile plus the  size
     of  newfile,  but	can tolerate a very small working set without a dramatic
     loss of performance.

SEE ALSO
     bsdiff(1)

AUTHORS
     Colin Percival <cperciva@FreeBSD.org>

BUGS
     The bspatch utility does not verify that oldfile is the correct source file
     for patchfile.  Attempting to apply a patch to the wrong file will  usually
     produce  garbage;	consequently  it  is  strongly recommended that users of
     bspatch verify that oldfile matches the source file  from	which  patchfile
     was  built, by comparing cryptographic hashes, for example.  Users may also
     wish to verify after running bspatch that newfile matches the  target  file
     from which patchfile was built.

FreeBSD ports 15.1		December 22, 2022		      BSPATCH(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bspatch&sektion=1&manpath=FreeBSD+15.1-RELEASE+and+Ports>

home | help