[svn-commits] r320946 - svn:log

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 26 12:51:42 CDT 2011


Author: twilson
Revision: 320946
Modified property: svn:log

Modified: svn:log at Thu May 26 12:51:42 2011
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu May 26 12:51:42 2011
@@ -1,10 +1,15 @@
-Merged revisions 320716 via svnmerge from 
-https://origsvn.digium.com/svn/asterisk/branches/1.8
+Use va_copy for stringfields
 
-........
-  r320716 | twilson | 2011-05-24 17:49:10 -0700 (Tue, 24 May 2011) | 4 lines
-  
-  Cast data as char * before using S_OR
-  
-  This is required for compiling successfully under dev mode
-........
+The ast_string_field_build_va functions were written to take to separate
+va_lists to work around FreeBSD 4 not having va_copy defined.
+
+In the end, we don't support anything using gcc < 3 anyway because we use
+va_copy all over the place anyway. This patch just simplifies things by
+removing the second va_list function arguments in favor of va_copy.
+
+Review: https://reviewboard.asterisk.org/r/1233/
+--This line, and those below, will be ignored--
+
+M    include/asterisk/stringfields.h
+M    main/utils.c
+M    main/channel.c




More information about the svn-commits mailing list