Re: compiler warnings on the buildfarm - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: compiler warnings on the buildfarm
Date
Msg-id 46974DC8.8040906@sun.com
Whole thread Raw
In response to Re: compiler warnings on the buildfarm  (Kris Jurka <books@ejurka.com>)
List pgsql-hackers
Kris Jurka wrote:
> 
> 
> On Thu, 12 Jul 2007, Tom Lane wrote:
> 
>> static int pam_passwd_conv_proc(int num_msg, const struct pam_message 
>> ** msg,
>>                     struct pam_response ** resp, void *appdata_ptr);
>>
>> which exactly matches what my Fedora 6 pam header file says it should
>> be.  What is it on those Solaris machines?
> 
> struct pam_conv {
>         int (*conv)(int, struct pam_message **,
>             struct pam_response **, void *);
>         void *appdata_ptr;              /* Application data ptr */
> };
> 
> So pam_message ** isn't const.
> 

Yes, according to X/Open XSSO Standard - see 
http://www.opengroup.org/onlinepubs/008329799/
http://www.opengroup.org/onlinepubs/008329799/pam_start.htm#tagcjh_07_32
Zdenek


pgsql-hackers by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Regarding Distributed Database features
Next
From: Martin Pihlak
Date:
Subject: stored procedure stats in collector