diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-10-02 23:58:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-10-02 23:58:59 +0000 |
commit | b65b2cead5e8d606de1a6d9d86895201ca243b18 (patch) | |
tree | 3cb6cde18fb5e888d2d215587da40417ad09a0af | |
parent | 8ef72878b53383cb5655d783a9b082015850ae7a (diff) | |
download | postgresql-b65b2cead5e8d606de1a6d9d86895201ca243b18.tar.gz postgresql-b65b2cead5e8d606de1a6d9d86895201ca243b18.zip |
Add URL about strlcpy() creation history.
-rw-r--r-- | src/port/strlcpy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/port/strlcpy.c b/src/port/strlcpy.c index e7e4f9ad341..aef53da2fac 100644 --- a/src/port/strlcpy.c +++ b/src/port/strlcpy.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.1 2006/09/27 16:29:46 tgl Exp $ + * $PostgreSQL: pgsql/src/port/strlcpy.c,v 1.2 2006/10/02 23:58:59 momjian Exp $ * * This file was taken from OpenBSD and is used on platforms that don't * provide strlcpy(). The OpenBSD copyright terms follow. @@ -39,6 +39,7 @@ * Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0). * Returns strlen(src); if retval >= siz, truncation occurred. + * Function creation history: http://www.gratisoft.us/todd/papers/strlcpy.html */ size_t strlcpy(char *dst, const char *src, size_t siz) |