Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Zdenek Kotala wrote:
>> I don't see any "const" keyword there.
> Right after that:
>> where int conv(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr);
> How confusing...
And the pam_start page he cited earlier has a different set of typos in
its version of the struct :-(. Still, that's two out of three places
that say it's const, and Solaris appears to be the only implementation
that has chosen to read it as not const.
regards, tom lane