widl [3/4]: Remove printf format strings that aren't really format strings.

David Laight david at l8s.co.uk
Tue Oct 23 18:06:25 CDT 2007


On Thu, Oct 18, 2007 at 11:12:23AM +0200, Michael Stefaniuc wrote:

> > -        fprintf(file, varname);
> > +        fprintf(file, "%s", varname);

> fputs() would be a faster alternative to that. Though i doubt that
> matters in this case.

FWIW gcc tends to convert fprintf(file, "%s", arg) into fputs(arg, file).
Discovered on a semi-embedded system which had fprintf, but not fputs :-)

	David

-- 
David Laight: david at l8s.co.uk



More information about the wine-devel mailing list