Fixes for format strings
Ulrich Drepper
drepper@redhat.com
Sun Dec 10 08:08:00 GMT 2000
Andreas Jaeger <aj@suse.de> writes:
> sprintf (tmp, (base == 10 ? "%.*s%0*ld" : "%.*s%0*lX"),
> cp - last_str, last_str,
> (int) (now->val.str.lenmb - (int) (cp - last_str)),
> from);
This is not the place I meant:
sprintf (tmp, (base == 10 ? "%.*s%0*ld" : "%.*s%0*lX"),
(int) (cp - last_str), last_str,
(int) (now->val.str.lenmb - cp - last_str),
from);
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list