On Mon, Jun 19, 2017 at 12:45:48PM +0900, Masatake YAMATO wrote:
> * defs.h (xstrndup): New prototype.
> * xmalloc.c (xstrndup): New function.
> * configure.ac (AC_CHECK_FUNC): check the avaiabllity of strndup.
> 
> Changes in version 4 (suggested by ldv):
> 
>       * Use strndup if available.
>       * Fix a typo in log.
> 
> Signed-off-by: Masatake YAMATO <yam...@redhat.com>
> ---
>  configure.ac |  1 +
>  defs.h       |  1 +
>  xmalloc.c    | 21 +++++++++++++++++++++
>  3 files changed, 23 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index b4cf4cb..9bf89fc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -282,6 +282,7 @@ AC_CHECK_FUNCS(m4_normalize([
>       readahead
>       signalfd
>       stpcpy
> +     strndup
>       strerror
>       strsignal
>       sync_file_range

We keep this list sorted.  Corrected and applied, thanks!


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to