diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-10 16:01:28 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-10 16:01:28 +0000 |
commit | b65768d7bb7d88b3c43264447574090a24380598 (patch) | |
tree | 57676efac0fbd7993de8a8d608ff86ec3eb0d56b /include | |
parent | 17232f53135162cab6a3309f37597ee2d11a9aad (diff) |
Solaris doesn't like outputting a NULL to a %s in format strings.
Detect all platforms that don't like that, either, and ensure that when documentation is
missing, we pass a non-NULL pointer when outputting the corresponding documentation.
(closes issue #16689)
Reported by: bklang
Patches:
20100209__issue16689__with_tests.diff.txt uploaded by tilghman (license 14)
Review: https://reviewboard.asterisk.org/r/497/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@246030 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 32f4d08d6..c2c33417e 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -591,6 +591,9 @@ /* Define to 1 if you have the `ntohll' function. */ #undef HAVE_NTOHLL +/* Define to 1 if your C library can safely print NULL to string formats. */ +#undef HAVE_NULLSAFE_PRINTF + /* Define to 1 if your ODBC library has wide (Unicode) types. */ #undef HAVE_ODBC_WCHAR |