Mercurial > hg > octave-nkf > gnulib-hg
changeset 15388:511fb0527efd
regex: avoid compiler warning
Although glibc leaks strcasecmp through <string.h>, this behavior
is not required by POSIX, and HP NonStop needs <strings.h>
* lib/regex.c (includes): Include <strings.h>, for use of
strcasecmp in regcomp.c.
Reported by Jachim Schmitz.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Mon, 11 Jul 2011 07:32:39 -0600 |
parents | 076dc7aa834c |
children | 8c0f49d5e806 |
files | ChangeLog lib/regex.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-07-11 Eric Blake <eblake@redhat.com> + + regex: avoid compiler warning + * lib/regex.c (includes): Include <strings.h>, for use of + strcasecmp in regcomp.c. + Reported by Jachim Schmitz. + 2011-07-09 Paul Eggert <eggert@cs.ucla.edu> stdint: respect system's intmax_t if INTMAX_MAX