[En-Nut-Discussion] sscanf bug?
Patrick Stadelmann
Patrick.Stadelmann at unine.ch
Sat Nov 20 11:06:36 CET 2004
Anton Veldhuizen wrote:
> I'm using WinAVR20040720 Combined with Ethernut 3.9.2. When using sscanf as
> follow the first 2 chars of my string gets cut off:
I've reported a similar problem that I traced to a bug in _getf :
http://sourceforge.net/tracker/index.php?func=detail&aid=960927&group_id=34079&atid=410687
The fix in my case was to remove white space in the format string, ie use
"%d%d" instead of "%d %d" to match "123 456".
Patrick
--
Patrick Stadelmann <Patrick.Stadelmann at unine.ch>
More information about the En-Nut-Discussion
mailing list