Module: wine Branch: master Commit: 8695a6986ef2b7cae7c1f3247fec8e8e14de1971 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8695a6986ef2b7cae7c1f3247...
Author: Conor McCarthy conor.mccarthy.444@gmail.com Date: Thu May 9 18:52:33 2019 +1000
mspatcha: Partially implement ApplyPatchToFileW and related functions.
This can patch non-executables and 64-bit executable files, but patching of 32-bit executables is not supported. They are subject to special processing which alters PE relocations to match with those in the old file to improve compression. To reverse this, the meaning of the decoding data must be interpreted. Details, including where to find that data in the patch file, are included in pa19.c. Interleaved decompression of large files is also not supported.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12501 Signed-off-by: Conor McCarthy conor.mccarthy.444@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mspatcha/Makefile.in | 4 +- dlls/mspatcha/lzxd_dec.c | 775 ++++++++++++++++++++++++++++++ dlls/mspatcha/lzxd_dec.h | 27 ++ dlls/mspatcha/mspatcha.spec | 28 +- dlls/mspatcha/mspatcha_main.c | 183 +++++-- dlls/mspatcha/pa19.c | 1046 +++++++++++++++++++++++++++++++++++++++++ dlls/mspatcha/pa19.h | 37 ++ 7 files changed, 2045 insertions(+), 55 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=8695a6986ef2b7cae7c1f...