Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementation of strlen. - Mailing list pgsql-committers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementation of strlen.
Date
Msg-id 21912.1507668699@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementationof strlen.  (Andres Freund <andres@anarazel.de>)
Responses Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementationof strlen.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> As far as I can tell it's still somehow using a configure from before
> the last commits:

No, it's pilot error.  The AC_CHECK_FUNCS call you added strnlen to
is only executed if
AS_IF([test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"],

A better place would be configure.in:1403, probably.
        regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementationof strlen.
Next
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Add pg_strnlen() a portable implementationof strlen.