Messages in this thread | | | Date | Tue, 1 Oct 2013 09:04:13 +0200 | Subject | Re: [PATCH] perf auto-dep: Speed up feature tests by building them in parallel | From | Geert Uytterhoeven <> |
| |
On Mon, Sep 30, 2013 at 7:34 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Mon, Sep 30, 2013 at 10:12 AM, Arnaldo Carvalho de Melo > <acme@ghostprotocols.net> wrote: >> >> Checking why that strlcpy failed... > > I don't think glibc does strlcpy. It's not a standard C function, and > it's somewhat controversial (although I dislike strncpy more with the > crazy zero-padding, ugh).
Indeed, e.g. on Ubuntu it's in libbsd, so you also need to #include <bsd/string.h> and link with -lbsd.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |