sprintf(s, "%3.3s", "abcd");
produces "abcd" where it should produce "abc". The
problem lies in printf_large.c. Used sdcc 2.5.0-pre1.
Shall I fix it before 2.5.0 release?
Logged In: YES
It doesn't seem particularly critical to me. (But then, I'm
not using sprintf in anything either.)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.