John Levon
2007-Jan-29 19:22 UTC
[Xen-devel] Re: [Xen-changelog] [xen-unstable] libelf cannot rely on the strlcpy() BSD-ism.
On Mon, Jan 29, 2007 at 08:15:09AM -0800, Keir Fraser wrote:> +/* SysV unices have no strlcpy/strlcat. */ > +static inline size_t elf_strlcpy(char *dest, const char *src, size_t size)Is this really true for any extant dom0 implementation? We have it at least... cheers, john _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jan-29 19:45 UTC
Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] libelf cannot rely on the strlcpy() BSD-ism.
On 29/1/07 19:22, "John Levon" <levon@movementarian.org> wrote:>> +/* SysV unices have no strlcpy/strlcat. */ >> +static inline size_t elf_strlcpy(char *dest, const char *src, size_t size) > > Is this really true for any extant dom0 implementation? We have it at > least...It''s true for Linux. Certainly my debian build box. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel