|
From: Daniel J S. <dan...@ie...> - 2006-10-17 20:44:17
|
Daniel J Sebald wrote: > one can then look for a size specification fairly easily by trying to > read what follows the % as an int, if it fails, then assume some size > of, oh, 20 characters. I guess implementing the sprintf or snprintf really isn't the critical issue. All we need do is ensure there is enough space, and searching for field width in the format string between two percent signs (%'s) shouldn't be too difficult. Why don't we try to fix the problem using just the sprintf() rather than worry about warning messages? Dan |