view modules/strcase @ 40220:2796695e9216

get-rusage-as, pthread_sigmask tests: Fix -fsanitize=thread findings. * lib/get-rusage-as.c (get_rusage_as): When compiled by "gcc -fsanitize=thread", don't try get_rusage_as_via_setrlimit. * tests/test-pthread_sigmask2.c (main): Clean up the killer_thread before exiting.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 01:28:42 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
Case-insensitive string comparison functions.

Files:
lib/strcasecmp.c
lib/strncasecmp.c
m4/strcase.m4

Depends-on:
strings

configure.ac:
gl_STRCASE
if test $HAVE_STRCASECMP = 0; then
  AC_LIBOBJ([strcasecmp])
  gl_PREREQ_STRCASECMP
fi
if test $HAVE_STRNCASECMP = 0; then
  AC_LIBOBJ([strncasecmp])
  gl_PREREQ_STRNCASECMP
fi

Makefile.am:

Include:
<strings.h>

License:
LGPLv2+

Maintainer:
all