[PATCH] Fix ar -M

DJ Delorie dj@delorie.com
Fri Oct 19 15:21:00 GMT 2001


> +  sprintf(tname, "%.*stmp-%s", (int) (bname - name), name, bname);

I wonder if we can count on sprintf printing "" with bname-name is
zero?  I know if you use %.*c with zero, it prints one character.



More information about the Binutils mailing list