Re: pgsql: Add support for matching wildcard server certificates to the new - Mailing list pgsql-committers

From Magnus Hagander
Subject Re: pgsql: Add support for matching wildcard server certificates to the new
Date
Msg-id 492AB237.80606@hagander.net
Whole thread Raw
In response to Re: pgsql: Add support for matching wildcard server certificates to the new  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> ... The other option is to have
>> autoconf substitute our own local version of fnmatch when this happens.
>> How would one go about to do that in autoconf asks the autoconf n00b?
>
> I'd try adding a little test program that tries to compile
>
>     #include <fnmatch.h>
>     ...
>     n = fnmatch("foo","bar", FNM_CASEFOLD);
>
> and see if that succeeds.
>
> For extra credit, incorporate that into a new PGAC_FUNC_FNMATCH macro,
> but I think you'd need to get Peter's help on the details --- I'm just
> a duffer on autoconf myself.

Yeah, likely that someone who knows this will make it happen a lot faster.

Peter, got time to help me out with this? Thanks!

//Magnus


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Add support for matching wildcard server certificates to the new
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Fixed problem where parameters size wasn't being