diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-02 10:30:51 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-02 10:30:51 +0100 |
commit | fd167a99e31b7021c78972c09acbf83b2d347c98 (patch) | |
tree | ca8ccd8fed78f99dd13ea6ab5069431983dac7b9 /gnulib-m4/strncat.m4 | |
parent | 4d76768442551c97a85e6f133cb818d223012746 (diff) | |
parent | 44a3eaeba04ef78835ca741592c376428ada5f71 (diff) |
Update upstream source from tag 'upstream/0.9.8'
Update to upstream version '0.9.8'
with Debian dir bac53b09be895fe7915b59f95882628bcc7b606e
Diffstat (limited to 'gnulib-m4/strncat.m4')
-rw-r--r-- | gnulib-m4/strncat.m4 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnulib-m4/strncat.m4 b/gnulib-m4/strncat.m4 index cda109c..92ee572 100644 --- a/gnulib-m4/strncat.m4 +++ b/gnulib-m4/strncat.m4 @@ -1,5 +1,5 @@ -# strncat.m4 serial 2 -dnl Copyright (C) 2002-2004, 2009-2016 Free Software Foundation, Inc. +# strncat.m4 serial 4 +dnl Copyright (C) 2002-2004, 2009-2017 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -15,7 +15,7 @@ AC_DEFUN_ONCE([gl_FUNC_STRNCAT], AC_CHECK_HEADERS_ONCE([sys/mman.h]) AC_CHECK_FUNCS_ONCE([mprotect]) - dnl Detect bug in Solaris 8..10 on SPARC: + dnl Detect bug in Solaris 8..10 on SPARC and Solaris 11.0 on x86: dnl strncat should not dereference more than n bytes, but always dereferences dnl n+1 bytes if the first n bytes don't contain a NUL byte. dnl Assume that strncat works on platforms that lack mprotect. @@ -84,9 +84,11 @@ AC_DEFUN_ONCE([gl_FUNC_STRNCAT], [ case "$host_os" in # Guess no on Solaris. - solaris*) gl_cv_func_strncat_works="guessing no";; + solaris*) gl_cv_func_strncat_works="guessing no" ;; + # Guess yes on native Windows. + mingw*) gl_cv_func_strncat_works="guessing yes" ;; # Guess yes otherwise. - *) gl_cv_func_strncat_works="guessing yes";; + *) gl_cv_func_strncat_works="guessing yes" ;; esac ]) ]) |