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

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Add strlcpy() to the set of functions supported by src/port/ when
Дата
Msg-id 20060927162946.41CF49FB303@postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix some misuses of strncat().
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Replace strncpy with strlcpy in selected places that seem