strlcpy() and bsd/os

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: strlcpy() and bsd/os
Date: 2006-09-30 12:09:40
Message-ID: 200609301209.k8UC9ek11915@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

BSD/OS doesn't have a prototype for strlcpy() but has the function, so I
worked around that with a define; patch attached and applied.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/bjm/diff text/x-diff 713 bytes

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-09-30 17:54:30 Re: Bad bug in fopen() wrapper code
Previous Message mark 2006-09-29 21:59:17 Re: Faster StrNCpy