Re: compiler warnings on the buildfarm

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Gorm(dot)Andersen(at)Sun(dot)COM
Subject: Re: compiler warnings on the buildfarm
Date: 2007-07-13 10:02:48
Message-ID: 46974DC8.8040906@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Pihlak 2007-07-13 11:11:04 stored procedure stats in collector
Previous Message Richard Huxton 2007-07-13 08:35:55 Re: Regarding Distributed Database features