https://bugzilla.novell.com/show_bug.cgi?id=231196
Summary: htdig-3.2.0b6-45: left shift count >= width of type Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: SuSE Other 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 htdig-3.2.0b6-45
The compiler said
Display.cc:1229: warning: left shift count >= width of type
The source code is
time_t eternity = ~(1<<(sizeof(time_t)*8-1)); // will be the largest value holdable by a time_t
I agree with the compiler.
Suggest new code
time_t eternity = ~(1UL << (sizeof(time_t)*8-1)); // will be the largest value holdable by a time_t
https://bugzilla.novell.com/show_bug.cgi?id=231196
chrubis@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mskibbe@novell.com |screening@forge.provo.novell| |.com |
https://bugzilla.novell.com/show_bug.cgi?id=231196
mskibbe@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
------- Comment #1 from mskibbe@novell.com 2007-01-12 03:19 MST ------- is fixed and checked into stable.
https://bugzilla.novell.com/show_bug.cgi?id=231196
User dcb314@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=231196#c2
David Binderman dcb314@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #2 from David Binderman dcb314@hotmail.com 2008-11-24 16:04:47 MST --- (In reply to comment #1 from Michael Skibbe)
is fixed and checked into stable.
I just checked htdig-3.2.0b6-217.12 and this bug appears to still exist.
Your best advice appreciated.
https://bugzilla.novell.com/show_bug.cgi?id=231196
Marcus Meissner meissner@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |hvogel@novell.com Status|REOPENED |NEW
https://bugzilla.novell.com/show_bug.cgi?id=231196
User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=231196#c4
Andreas Jaeger aj@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hvogel@novell.com |nadvornik@novell.com
--- Comment #4 from Andreas Jaeger aj@novell.com 2009-02-25 06:50:22 MST --- Vladimir, could you distribute this, please?
https://bugzilla.novell.com/show_bug.cgi?id=231196
Michal Seben mseben@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mseben@novell.com AssignedTo|nadvornik@novell.com |mseben@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=231196
User mseben@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=231196#c5
Michal Seben mseben@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED
--- Comment #5 from Michal Seben mseben@novell.com 2009-03-09 02:45:38 MST --- fixed