]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bsdiff: Use mmap instead of malloc
authorRicardo Branco <rbranco@suse.de>
Fri, 19 Apr 2024 22:32:43 +0000 (16:32 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 19 Apr 2024 22:33:07 +0000 (16:33 -0600)
commit725a9f47324d42037db93c27ceb40d4956872f3e
treed156469ad9b19fe115f80b503d7ef2c792ef52ec
parentde525c502a3aab50de42df39f4b0c2840f4c09a6
bsdiff: Use mmap instead of malloc

Note: This follows the current style of the bsdiff.c and bspatch.c
files, which is rather far from style(9).

Reviewed by: imp, cpervica
Pull Request: https://github.com/freebsd/freebsd-src/pull/1076
usr.bin/bsdiff/bsdiff/bsdiff.c
usr.bin/bsdiff/bspatch/bspatch.c