pgsql: Add strlcat() from OpenBSD, to be used for replacing strncat and

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add strlcat() from OpenBSD, to be used for replacing strncat and
Date: 2007-02-07 00:28:55
Message-ID: 20070207002855.3769B9FB252@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add strlcat() from OpenBSD, to be used for replacing strncat and other
strange coding practices.

Modified Files:
--------------
pgsql:
configure (r1.533 -> r1.534)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.533&r2=1.534)
configure.in (r1.500 -> r1.501)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in.diff?r1=1.500&r2=1.501)
pgsql/src/bin/pg_config:
pg_config.c (r1.23 -> r1.24)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_config/pg_config.c.diff?r1=1.23&r2=1.24)
pgsql/src/include:
pg_config.h.in (r1.110 -> r1.111)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in.diff?r1=1.110&r2=1.111)
port.h (r1.109 -> r1.110)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h.diff?r1=1.109&r2=1.110)

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2007-02-07 00:32:15 pgsql: Use memcpy() instead of strncpy() for copying into varlena
Previous Message Tom Lane 2007-02-06 22:49:48 pgsql: Fix an error in the original coding of holdable cursors: