[Bug 441164] New: trackballs-1.1.4-146.14: 4 * broken printf
https://bugzilla.novell.com/show_bug.cgi?id=441164 Summary: trackballs-1.1.4-146.14: 4 * broken printf Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to build the OpenSuse factory package trackballs-1.1.4-146.14 and the compiler said image.cc:233: warning: unknown conversion type character ''' in format The source code is fprintf(stderr, "Cannot allocate '%z' bytes.\n", sizeof(IMAGE)); I agree with the compiler, the code is broken. Suggest new code fprintf(stderr, "Cannot allocate '%zu' bytes.\n", sizeof(IMAGE)); Similar fun & games at lines 256, 286 and 62 in the same file. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 Josef Reidinger <jreidinger@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jreidinger@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |pth@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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c1 --- Comment #1 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-21 22:00:53 MST --- Created an attachment (id=266736) --> (https://bugzilla.novell.com/attachment.cgi?id=266736) strace output for comment #17 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c2 --- Comment #2 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-21 22:01:31 MST --- Created an attachment (id=266737) --> (https://bugzilla.novell.com/attachment.cgi?id=266737) valgrind output for comment #17 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User Joseph.Comfort@asu.edu added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c3 Joseph Comfort <Joseph.Comfort@asu.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joseph.Comfort@asu.edu --- Comment #3 from Joseph Comfort <Joseph.Comfort@asu.edu> 2009-01-21 22:03:17 MST --- Please disregard/discard comments #1 and #2 and attachments. Bugzilla changed the case number on me after I submitted a comment to something else. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c4 --- Comment #4 from David Binderman <dcb314@hotmail.com> 2009-02-03 02:58:03 MST --- (In reply to comment #0)
I just tried to build the OpenSuse factory package trackballs-1.1.4-146.14
Still broken a few months later in version trackballs-1.1.4-146.47 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c5 David Binderman <dcb314@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #5 from David Binderman <dcb314@hotmail.com> 2009-03-10 04:56:23 MST --- Still broken in version 1.1.4-146.52, four months after the original bug report. Is this package dead ? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User jasbir@f2s.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c6 Jasbir Khatkar <jasbir@f2s.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jasbir@f2s.com --- Comment #6 from Jasbir Khatkar <jasbir@f2s.com> 2009-03-11 04:42:59 MST --- Just curious but doesn't this error relate to the use of ' Org: fprintf(stderr, "Cannot allocate '%z' bytes.\n", sizeof(IMAGE)); Sug: fprintf(stderr, "Cannot allocate \'%z\' bytes.\n", sizeof(IMAGE)); -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c7 --- Comment #7 from David Binderman <dcb314@hotmail.com> 2009-03-11 07:57:27 MST --- (In reply to comment #6)
Just curious but doesn't this error relate to the use of '
Org: fprintf(stderr, "Cannot allocate '%z' bytes.\n", sizeof(IMAGE));
Sug: fprintf(stderr, "Cannot allocate \'%z\' bytes.\n", sizeof(IMAGE));
No. The warning message says the format is wrong i.e. %z' On reading the fine manual "man 3 printf", z is a modifier on the front of one of d, i ,o, u, x or X. ' isn't one of those, so the compiler doesn't like it. Suggest again use %zu that will shut the compiler up. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441164 User pth@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441164#c8 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P4 - Low Status|ASSIGNED |RESOLVED Component|Other |Other Resolution| |FIXED AssignedTo|pth@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 11.1 |openSUSE 11.2 Target Milestone|--- |Factory --- Comment #8 from Philipp Thomas <pth@novell.com> 2009-03-11 08:33:24 MST --- This will be fixed for factory, i.e. the next version of openSUSE.Therefor I'm moving this bug to 11.2. -- 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.
participants (1)
-
bugzilla_noreply@novell.com