[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] strings.h in argz.c?
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] strings.h in argz.c? |
Date: |
Mon, 30 Oct 2006 13:36:52 +0100 |
User-agent: |
KMail/1.9.1 |
Simon Josefsson wrote:
> #if defined(HAVE_STRING_H)
> # include <string.h>
> #elif defined(HAVE_STRINGS_H)
> # include <strings.h>
> #endif
> #if defined(HAVE_MEMORY_H)
> # include <memory.h>
> #endif
>
> Is strings.h needed on any modern platform?
No.
1) <string.h> exists on all platforms, for several years now.
The #elif branch in the above code is therefore never executed.
2) There are a few other functions defined in glibc <strings.h>, but they
are not useful. See
http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00113.html
Bruno
- strings.h in argz.c?, Simon Josefsson, 2006/10/30
- Re: [bug-gnulib] strings.h in argz.c?,
Bruno Haible <=