On Thu, Jul 30, 2009 at 11:27 AM, Andrew Morton<akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > On Fri, 17 Jul 2009 16:26:23 +0200 Roel Kluin <roel.kluin@xxxxxxxxx> wrote: > >> strlcpy() will always null terminate the string. >> >> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> >> --- >> please use this one instead >> >> diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c >> index aa73e72..3bacfe0 100644 >> --- a/Documentation/accounting/getdelays.c >> +++ b/Documentation/accounting/getdelays.c > > My glibc-2.8-3 (shipped in FC8) doesn't appear to have strlcpy(). Yes. And it's unlikely to appear in glibc: http://sourceware.org/ml/libc-alpha/2000-08/msg00052.html Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Watch my Linux system programming book progress to publication! http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html