[asterisk-commits] tilghman: branch 1.6.2 r211585 - in /branches/1.6.2: ./ doc/CODING-GUIDELINES
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 10 14:51:23 CDT 2009
Author: tilghman
Date: Mon Aug 10 14:51:20 2009
New Revision: 211585
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=211585
Log:
Merged revisions 211584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r211584 | tilghman | 2009-08-10 14:49:41 -0500 (Mon, 10 Aug 2009) | 9 lines
Merged revisions 211583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r211583 | tilghman | 2009-08-10 14:48:48 -0500 (Mon, 10 Aug 2009) | 1 line
Conversion specifiers, not format specifiers
........
................
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/doc/CODING-GUIDELINES
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/doc/CODING-GUIDELINES
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/doc/CODING-GUIDELINES?view=diff&rev=211585&r1=211584&r2=211585
==============================================================================
--- branches/1.6.2/doc/CODING-GUIDELINES (original)
+++ branches/1.6.2/doc/CODING-GUIDELINES Mon Aug 10 14:51:20 2009
@@ -388,9 +388,10 @@
in preference to the atoi and atof family of functions, as sscanf detects
errors. Always check the return value of sscanf to verify that your numeric
variables successfully scanned before using them. Also, to avoid a potential
-libc bug, always specify a maximum width for each format specifier, including
-integers and floats. A good length for both integers and floats is 30, as
-this is more than generous, even if you're using doubles or long integers.
+libc bug, always specify a maximum width for each conversion specifier,
+including integers and floats. A good length for both integers and floats is
+30, as this is more than generous, even if you're using doubles or long
+integers.
* Use of functions
------------------
More information about the asterisk-commits
mailing list