Re: [pacman-dev] [PATCH 2/5] common: Avoid errors on systems that define strnlen but not strndup

2015-02-27 Thread Allan McRae
On 27/02/15 08:04, Will Miles wrote: > Add a configure test for a system library supplied strnlen, and disable > the embedded version in common if one is found. > > Signed-off-by: Will Miles Ack

[pacman-dev] [PATCH 2/5] common: Avoid errors on systems that define strnlen but not strndup

2015-02-26 Thread Will Miles
Add a configure test for a system library supplied strnlen, and disable the embedded version in common if one is found. Signed-off-by: Will Miles --- configure.ac | 4 ++-- src/common/util-common.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac