pgsql: Add strlcpy() to the set of functions supported by src/port/ when - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add strlcpy() to the set of functions supported by src/port/ when
Date
Msg-id 20060927162946.41CF49FB303@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add strlcpy() to the set of functions supported by src/port/ when not
available directly on the platform.  Per discussion, this function is
sufficiently widely recognized to be treated as standard.

Modified Files:
--------------
    pgsql:
        configure (r1.505 -> r1.506)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.505&r2=1.506)
        configure.in (r1.475 -> r1.476)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.475&r2=1.476)
    pgsql/src/include:
        pg_config.h.in (r1.100 -> r1.101)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in.diff?r1=1.100&r2=1.101)
        port.h (r1.99 -> r1.100)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h.diff?r1=1.99&r2=1.100)

Added Files:
-----------
    pgsql/src/port:
        strlcpy.c (r1.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/strlcpy.c?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix some misuses of strncat().
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Replace strncpy with strlcpy in selected places that seem