lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e651f418-ada8-19e1-359e-9906994108eb@gmail.com>
Date:   Fri, 11 Sep 2020 09:58:12 +0200
From:   "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To:     Alejandro Colomar <colomar.6.4.3@...il.com>
Cc:     mtk.manpages@...il.com, linux-man@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 19/24] pthread_setname_np.3: ffix

Hi Alex,

On 9/10/20 11:13 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@...il.com>
> ---
>  man3/pthread_setname_np.3 | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

What's the rationale for this patch?

Thanks,

Michael
> 
> diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
> index b206f66c0..4dc4960cd 100644
> --- a/man3/pthread_setname_np.3
> +++ b/man3/pthread_setname_np.3
> @@ -164,8 +164,9 @@ THREADFOO
>  
>  #define NAMELEN 16
>  
> -#define errExitEN(en, msg) \e
> -            do { errno = en; perror(msg); exit(EXIT_FAILURE); \e
> +#define errExitEN(en, msg) do \e
> +        { \
> +            errno = en; perror(msg); exit(EXIT_FAILURE); \e
>          } while (0)
>  
>  static void *
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ