[asterisk-commits] russell: branch 1.6.0 r118557 - in /branches/1.6.0: ./ include/asterisk/compat.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 27 14:28:19 CDT 2008


Author: russell
Date: Tue May 27 14:28:19 2008
New Revision: 118557

URL: http://svn.digium.com/view/asterisk?view=rev&rev=118557
Log:
Merged revisions 118556 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r118556 | russell | 2008-05-27 14:27:48 -0500 (Tue, 27 May 2008) | 6 lines

Add printf format attribute for vasprintf().
(closes issue #12729)
Reported by: snuffy
Patches:
      bug_12729.diff uploaded by snuffy (license 35)

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/include/asterisk/compat.h

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/include/asterisk/compat.h?view=diff&rev=118557&r1=118556&r2=118557
==============================================================================
--- branches/1.6.0/include/asterisk/compat.h (original)
+++ branches/1.6.0/include/asterisk/compat.h Tue May 27 14:28:19 2008
@@ -110,7 +110,7 @@
 #endif
 
 #if !defined(HAVE_VASPRINTF) && !defined(__AST_DEBUG_MALLOC)
-int vasprintf(char **strp, const char *fmt, va_list ap);
+int __attribute__ ((format (printf, 2, 0))) vasprintf(char **strp, const char *fmt, va_list ap);
 #endif
 
 #ifndef HAVE_STRLCAT




More information about the asterisk-commits mailing list