Fixes for format strings

Andreas Jaeger aj@suse.de
Sun Dec 10 08:15:00 GMT 2000


>>>>> Ulrich Drepper writes:

Uli> 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);

Uli> This is not the place I meant:

Uli>  	  sprintf (tmp, (base == 10 ? "%.*s%0*ld" : "%.*s%0*lX"),
Uli>  		   (int) (cp - last_str), last_str,
Uli>  		   (int) (now->val.str.lenmb - cp - last_str),
Uli>  		   from);

I looked the whole time at the wrong place :-(.

Fixed now,

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-hacker mailing list