[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pwd.h on VMS
From: |
Bruno Haible |
Subject: |
Re: pwd.h on VMS |
Date: |
Mon, 3 Mar 2008 13:00:42 +0100 |
User-agent: |
KMail/1.5.4 |
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
Re: sys/stat.h on VMS, Bruno Haible, 2008/03/03