[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 4 May 2006 20:22:27 +0200
There seems to be a problem with gnokii sources and some compilers. I
got the report from FC4 and gcc version 4.0.2 20051125. The problem is
with interpretation of:
sprintf(buffer, "%s%d", buffer, digit);
It used to work so far but under FC4 it behaves always in the was as
buffer was empty (regardles of buffer contents) and the result string
is always the digit.
Is it a bug in gcc or is it misuse of sprintf?
- sprintf usage,
Pawel Kot <=