libbsd/test
Guillem Jover e4e15ed286 Fix strnvis() and strnunvis() NetBSD ABI break
The NetBSD implementations have different prototypes to the ones coming
from OpenBSD, which will break builds, and have caused segfaults at
run-time. We provide now both interfaces with different prototypes as
different version nodes allow selecting them at compile-time, defaulting
for now to the OpenBSD one to avoid build-time breakage, while emitting
a compile-time warning. Later on, in 0.10.0, we will be switching the
compile-time default to the NetBSD version.

Ref: http://gnats.netbsd.org/44977
Fixes: https://bugs.debian.org/899282
2018-05-22 16:07:42 +02:00
..
.gitignore Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
arc4random.c test: Fix success return code for arc4random unit test 2016-01-11 02:35:34 +01:00
bzero.c Add explicit_bzero() function from OpenBSD 2015-09-24 05:47:58 +02:00
closefrom.c test: Add closefrom() unit test 2015-09-23 07:59:34 +02:00
endian.c test: Add a unit test for endian encoder/decoder 2012-05-29 04:51:16 +02:00
fgetln.c test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
fparseln.c test: Add fparseln() unit test 2015-09-23 07:59:34 +02:00
fpurge.c test: Add test case for fpurge(NULL) 2015-09-23 07:59:34 +02:00
funopen.c Add funopen() function 2013-10-21 05:35:44 +02:00
headers-overlay.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
headers-system.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
humanize.c Fix dehumanize_number() to correctly detect overflows 2013-10-21 05:29:37 +02:00
Makefile.am Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
md5.c test: Add a unit test for md5 2016-03-27 12:31:58 +02:00
nlist.c test: Fix nlist(3) unit test on IA64 2018-01-13 16:17:28 +01:00
overlay.c Add missing copyright and license headers 2015-12-07 01:56:25 +01:00
proctitle.c test: Check asprintf() return code 2015-11-30 23:48:50 +01:00
progname.c test: Handle libtool executable names in getprogname() unit test 2017-06-24 16:05:50 +02:00
setmode.c test: Add new setmode() and getmode() unit test 2017-06-19 03:17:21 +02:00
strl.c test: Add unit test for strlcpy() and strlcat() 2017-06-09 05:47:07 +02:00
strmode.c test: Add missing <sys/stat.h> include 2016-01-27 15:24:39 +01:00
strnstr.c test: Add new strnstr() unit test 2017-06-19 03:17:21 +02:00
test-stream.c test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
test-stream.h test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
vis-openbsd.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
vis.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00