Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 676555 Details for
Bug 176894
htdig fails to build in rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to supress warning/error message about left shift count >= width of type
htdig-3.2.0b6-timet64.patch (text/plain), 1.19 KB, created by
Gilles Detillieux
on 2013-01-10 21:31:32 UTC
(
hide
)
Description:
patch to supress warning/error message about left shift count >= width of type
Filename:
MIME Type:
Creator:
Gilles Detillieux
Created:
2013-01-10 21:31:32 UTC
Size:
1.19 KB
patch
obsolete
>--- htdig-3.2.0b6/htsearch/Display.cc.timet64 2013-01-10 14:57:04.000000000 -0600 >+++ htdig-3.2.0b6/htsearch/Display.cc 2013-01-10 15:06:24.000000000 -0600 >@@ -1226,7 +1226,7 @@ Display::buildMatchList() > startdate = *lt; > enddate = *lt; > >- time_t eternity = ~(1<<(sizeof(time_t)*8-1)); // will be the largest value holdable by a time_t >+ time_t eternity = ~(((time_t)1)<<(sizeof(time_t)*8-1)); // will be the largest value holdable by a time_t > tm endoftime; // the time_t eternity will be converted into a tm, held by this variable > > time_t timet_startdate; >--- htdig-3.2.0b6/libhtdig/ResultFetch.cc.timet64 2013-01-10 14:57:04.000000000 -0600 >+++ htdig-3.2.0b6/libhtdig/ResultFetch.cc 2013-01-10 15:10:32.000000000 -0600 >@@ -1176,7 +1176,7 @@ ResultFetch::buildMatchList() > startdate = *lt; > enddate = *lt; > >- time_t eternity = ~(1 << (sizeof(time_t) * 8 - 1)); // will be the largest value holdable by a time_t >+ time_t eternity = ~(((time_t)1) << (sizeof(time_t) * 8 - 1)); // will be the largest value holdable by a time_t > tm *endoftime; // the time_t eternity will be converted into a tm, held by this variable > > time_t timet_startdate;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176894
:
122748
| 676555