Re: [PATCH] Fix struct rpcent for uclibc-ng

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

 




On 07/05/2017 09:24 AM, Joshua Kinard wrote:
> Commit 6d8d4b5a7bf6 addresses an issue for musl, based on a description of
> an earlier patch at https://patchwork.kernel.org/patch/5499671/.  That
> description notes uncertainty with uclibc, which also defines __GLIBC__.
> This patch fixes the uclibc case by also checking for __UCLIBC__.
> 
> Fixes: 6d8d4b5a7bf6 ("Include string.h for memset")
> Signed-off-by: Joshua Kinard <kumba@xxxxxxxxxx>
> Cc: Natanael Copa <ncopa@xxxxxxxxxxxxxxx>
Committed...

steved.

> ---
> 
>  tirpc/rpc/rpcent.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h
> index e07503c..9d3ef9c 100644
> --- a/tirpc/rpc/rpcent.h
> +++ b/tirpc/rpc/rpcent.h
> @@ -49,7 +49,7 @@ extern "C" {
>  #endif
>  
>  /* These are defined in /usr/include/rpc/netdb.h */
> -#if !defined(__GLIBC__)
> +#if !defined(__GLIBC__) || defined(__UCLIBC__)
>  struct rpcent {
>  	char	*r_name;	/* name of server for this rpc program */
>  	char	**r_aliases;	/* alias list */
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux