[Bug 211297] New: d4x-2.5.6-22: broken sprintf string
https://bugzilla.novell.com/show_bug.cgi?id=211297 Summary: d4x-2.5.6-22: broken sprintf string Product: openSUSE 10.2 Version: Alpha 5 Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile package d4x-2.5.6-22 with the GNU C compiler. The compiler said list.cc:996: warning: unknown conversion type character '(' in format The source code is sprintf(data, "%s%(%lli/%lli)",b,temp->Size.curent,temp->finfo.size); The %( appears to cause the warning. I am not sure what the programmer intends, but perhaps sprintf(data, "%s(%lli/%lli)",b,temp->Size.curent,temp->finfo.size); would work ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211297 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |sbrabec@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211297 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sbrabec@novell.com |prusnak@novell.com Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211297 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #1 from prusnak@novell.com 2006-11-08 06:53 MST ------- % is percent sign because b is percent value fixed to : sprintf(data, "%s%% (%lli/%lli)",b,temp->Size.curent,temp->finfo.size); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com