Red Hat Bugzilla – Bug 114990
Last modified: 2007-11-30 17:10:36 EST
Description of problem:
I just tried to compile package libgnomeprint-1.116.0-7 from Redhat
Fedora Core 1.
The compiler said
gp-tt-t1.c(4932): warning #268: the format string ends before this
The source code is
retval = ttf_printf (retval, &size, &length,
"%d %d hstem\n"
, g->hstems[i].value, g->hstems[i + 1].value
, g->hstems[i + 1].value - g->hstems[i].value);
Two %d specifiers, but three parameters afterwards.
I'm not sure what the fix is for this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Filed upstream as http://bugzilla.gnome.org/show_bug.cgi?id=138438
Fixed upstream. It's actually a real bug since the second
parameter is extraneous not the third, but libgnomeprintui-2.0
is virtually unused in fc2, not in rhel3, and won't be in
fc3, so I'm going to leave it unfixed.