New module 'wcsdup'.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Feb 2011 12:42:05 +0000 (13:42 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2011 22:36:06 +0000 (23:36 +0100)
commit5768aa52f6dd4fe3266bfa42f6a58f26b89c6c89
tree86dd54f47bb3388b3c250fb8f41f98982d8f3579
parent1c65c44a130b11ba5f128ad1db2f23aa82984c1a
New module 'wcsdup'.

* modules/wcsdup: New file.
* lib/wchar.in.h (wcsdup): New declaration.
* lib/wcsdup.c: New file.
* lib/wcsdup-impl.h: New file, from libutf8 with modifications.
* m4/wcsdup.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsdup is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSDUP, HAVE_WCSDUP.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSDUP, HAVE_WCSDUP.
* tests/test-wchar-c++.cc: Test the declaration of wcsdup.
* doc/posix-functions/wcsdup.texi: Mention the new module.
ChangeLog
doc/posix-functions/wcsdup.texi
lib/wchar.in.h
lib/wcsdup-impl.h [new file with mode: 0644]
lib/wcsdup.c [new file with mode: 0644]
m4/wchar_h.m4
m4/wcsdup.m4 [new file with mode: 0644]
modules/wchar
modules/wcsdup [new file with mode: 0644]
tests/test-wchar-c++.cc