On 17.04.2024 16:37, Daniel P. Smith wrote:
> Dropping the define checks for PKZIP_BUG_WORKAROUND and NOMEMCPY define as
> they
> never are set.
You don't mention or otherwise touch DEBUG uses, yet ...
> --- a/xen/common/gzip/inflate.c
> +++ b/xen/common/gzip/inflate.c
> @@ -661,7 +661,6 @@ static int __init inflate_codes(
> /* do the copy */
> do {
> n -= (e = (e = WSIZE - ((d &= WSIZE-1) > w ? d : w)) > n
> ? n : e);
> -#if !defined(NOMEMCPY) && !defined(DEBUG)
... you also don't replace this by "#ifndef DEBUG", but outright delete
the line.
Jan