[asterisk-commits] coreyfarrell: branch 13 r433795 - /branches/13/main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 31 06:47:23 CDT 2015


Author: coreyfarrell
Date: Tue Mar 31 06:47:14 2015
New Revision: 433795

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433795
Log:
Re-add _ast_mem_backtrace_buffer variable for ABI compatibility.

Modules built prior to commit of r4502 expect to link at runtime
to the variable _ast_mem_backtrace_buffer.  This change re-adds
the variable to the C file only.

Review: https://reviewboard.asterisk.org/r/4558/

Modified:
    branches/13/main/utils.c

Modified: branches/13/main/utils.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/utils.c?view=diff&rev=433795&r1=433794&r2=433795
==============================================================================
--- branches/13/main/utils.c (original)
+++ branches/13/main/utils.c Tue Mar 31 06:47:14 2015
@@ -74,6 +74,11 @@
 
 static char base64[64];
 static char b2a[256];
+
+/* This is for binary compatibility with modules built before
+ * ast_log_safe existed. */
+#define _AST_MEM_BACKTRACE_BUFLEN 60
+void *_ast_mem_backtrace_buffer[_AST_MEM_BACKTRACE_BUFLEN];
 
 AST_THREADSTORAGE(inet_ntoa_buf);
 




More information about the asterisk-commits mailing list