pgsql: Replace some strncpy() by strlcpy().

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Replace some strncpy() by strlcpy().
Date: 2007-02-07 00:52:35
Message-ID: 20070207005235.E1A279FB2CC@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Replace some strncpy() by strlcpy().

Modified Files:
--------------
pgsql/contrib/chkpass:
chkpass.c (r1.17 -> r1.18)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/chkpass/chkpass.c.diff?r1=1.17&r2=1.18)
pgsql/contrib/dblink:
dblink.c (r1.61 -> r1.62)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c.diff?r1=1.61&r2=1.62)
pgsql/src/backend/libpq:
be-secure.c (r1.76 -> r1.77)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/be-secure.c.diff?r1=1.76&r2=1.77)
pgsql/src/backend/utils/fmgr:
dfmgr.c (r1.93 -> r1.94)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/dfmgr.c.diff?r1=1.93&r2=1.94)
pgsql/src/backend/utils/misc:
guc.c (r1.372 -> r1.373)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.372&r2=1.373)
pgsql/src/bin/psql:
tab-complete.c (r1.157 -> r1.158)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/tab-complete.c.diff?r1=1.157&r2=1.158)
pgsql/src/interfaces/ecpg/preproc:
descriptor.c (r1.24 -> r1.25)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/preproc/descriptor.c.diff?r1=1.24&r2=1.25)
pgsql/src/test/regress:
pg_regress.c (r1.28 -> r1.29)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/pg_regress.c.diff?r1=1.28&r2=1.29)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-07 03:16:22 pgsql: Update for 8.2.3.
Previous Message Peter Eisentraut 2007-02-07 00:32:15 pgsql: Use memcpy() instead of strncpy() for copying into varlena