Add fallback implementation of strndup()

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Linux test code fixed by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Alan Coopersmith 2011-10-24 20:28:32 -07:00
commit acde97a39d
8 changed files with 133 additions and 1 deletions

View file

@ -1,6 +1,6 @@
if ENABLE_UNIT_TESTS
SUBDIRS= . xi2
noinst_PROGRAMS = xkb input xtest list misc fixes xfree86
noinst_PROGRAMS = xkb input xtest list misc fixes xfree86 string
check_LTLIBRARIES = libxservertest.la
TESTS=$(noinst_PROGRAMS)