John E. Malmberg wrote:
> In src/names.c
> 
> The declarations for getgrnam and getpwnam interfere with the ones in 
> the system supplied headers.

> --- /src_root/tar-1.19/src/names.c      Sun Aug 12 02:46:25 2007
> +++ src/names.c Mon Dec 17 19:53:01 2007
> @@ -27,6 +27,7 @@
>  
>  /* User and group names.  */
>  
> +#ifndef __VMS /* These conflict with the VMS system supplied headers */
>  struct group *getgrnam ();
>  struct passwd *getpwnam ();
>  #if ! HAVE_DECL_GETPWUID
> @@ -35,6 +36,7 @@
>  #if ! HAVE_DECL_GETGRGID
>  struct group *getgrgid ();
>  #endif
> +#endif
>  
>  /* Make sure you link with the proper libraries if you are running the
>     Yellow Peril (thanks for the good laugh, Ian J.!), or, euh... NIS.

Can you please show the relevant part of the system-supplied headers (i.e.
the declarations of these functions and of their argument and return types?

Bruno



Reply via email to