[svn-commits] tilghman: branch 1.4 r211583 - /branches/1.4/doc/CODING-GUIDELINES

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 10 14:48:52 CDT 2009


Author: tilghman
Date: Mon Aug 10 14:48:48 2009
New Revision: 211583

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=211583
Log:
Conversion specifiers, not format specifiers

Modified:
    branches/1.4/doc/CODING-GUIDELINES

Modified: branches/1.4/doc/CODING-GUIDELINES
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/doc/CODING-GUIDELINES?view=diff&rev=211583&r1=211582&r2=211583
==============================================================================
--- branches/1.4/doc/CODING-GUIDELINES (original)
+++ branches/1.4/doc/CODING-GUIDELINES Mon Aug 10 14:48:48 2009
@@ -291,9 +291,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 svn-commits mailing list