view modules/rpmatch @ 40213:cc3fed3b7788

unilbrk/u*-possible-linebreaks: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks): Don't invoke memset with a zero size. * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks): Likewise. * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks): Adjust accordingly.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 00:27:19 +0100
parents 0a705be282ae
children
line wrap: on
line source

Description:
Locale dependent classification of a response as matching "yes" or "no".

Files:
lib/rpmatch.c
m4/rpmatch.m4

Depends-on:
stdlib
extensions
stdbool         [test $HAVE_RPMATCH = 0]
gettext-h       [test $HAVE_RPMATCH = 0]
regex           [test $HAVE_RPMATCH = 0]
strdup          [test $HAVE_RPMATCH = 0]

configure.ac:
gl_FUNC_RPMATCH
if test $HAVE_RPMATCH = 0; then
  AC_LIBOBJ([rpmatch])
  gl_PREREQ_RPMATCH
fi
gl_STDLIB_MODULE_INDICATOR([rpmatch])

Makefile.am:

Include:
<stdlib.h>

Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
GPL

Maintainer:
Jim Meyering