Re: [PATCH v2 07/19] Provide zlib's uncompress2 from compat/zlib-compat.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 9, 2021 at 11:47 AM Han-Wen Nienhuys via GitGitGadget
<gitgitgadget@xxxxxxxxx> wrote:
> diff --git a/config.mak.uname b/config.mak.uname
> index 76516aaa9a5..9beacda4434 100644
> --- a/config.mak.uname
> +++ b/config.mak.uname
> @@ -258,6 +258,11 @@ ifeq ($(uname_S),FreeBSD)
>         FILENO_IS_A_MACRO = UnfortunatelyYes
>  endif
>  ifeq ($(uname_S),OpenBSD)
> +       NO_UNCOMPRESS2 = YesPlease

This first line is no longer needed and is counter productive
The logic in the next 4 sets this variable correctly, otherwise

> +       # Versions < 7.0 need compatibility layer
> +       ifeq ($(shell expr "$(uname_R)" : "[1-6]\."),2)
> +               NO_UNCOMPRESS2 = UnfortunatelyYes
> +       endif
>         NO_STRCASESTR = YesPlease
>         NO_MEMMEM = YesPlease
>         USE_ST_TIMESPEC = YesPlease

Carlo



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux