view modules/wcsdup @ 17448:b3516a31a386

regex: port to --with-included-regex --enable-gcc-warnings non-threaded * lib/regex_internal.h (lock_fini, lock_lock): Rework to avoid gcc warnings in the non-threaded case. Reported by Charlie Brown in <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00015.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 09 Jul 2013 11:35:01 -0700
parents 7f3083b176a2
children
line wrap: on
line source

Description:
wcsdup() function: duplicate a wide string.

Files:
lib/wcsdup.c
lib/wcsdup-impl.h
m4/wcsdup.m4

Depends-on:
wchar
wcslen          [test $HAVE_WCSDUP = 0]
wmemcpy         [test $HAVE_WCSDUP = 0]

configure.ac:
gl_FUNC_WCSDUP
if test $HAVE_WCSDUP = 0; then
  AC_LIBOBJ([wcsdup])
fi
gl_WCHAR_MODULE_INDICATOR([wcsdup])

Makefile.am:

Include:
<wchar.h>

License:
LGPL

Maintainer:
Bruno Haible