diff options
author | Brian Behlendorf <[email protected]> | 2018-12-11 16:01:41 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-12-11 16:01:41 -0800 |
commit | 4b702901637ee0be1f654af38c86d0a68593f921 (patch) | |
tree | dc8e39ec1bd01b6630e0e822b1a6077b346773f2 /module/zfs/zio_inject.c | |
parent | a48cd034c8df96ab751179b0c15bf84c6e178967 (diff) |
Check for strlcat and strlcpy
This partially reverts commit 8005ca4 by moving the strlcat()
and strlcpy() compatibility implementations back to their original
location.
In addition, these two functions were added to the AC_CHECK_FUNCS
macro. When these functions are available from the C library,
HAVE_STRLCAT and HAVE_STRLCPY will be defined and library version
used. Otherwise the compatibility version is built.
Reviewed-by: Sebastian Gottschall <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #8157
Closes #8202
Diffstat (limited to 'module/zfs/zio_inject.c')
0 files changed, 0 insertions, 0 deletions