[EMAIL PROTECTED] wrote:
Log Message: Add support for the .precision format in the sprintf()-like functions to allow limiting the maximum length of a string.
<...>
case 's':
str = va_arg (ap, char*);
+ if(precision > 0)
+ str[precision] = '\0';
Should it really modify the input string like that? What if it is in flash? (Might not be a problem as currently used, but...)
Magnus
