Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
htmldoc
htmldoc-cups_rand.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File htmldoc-cups_rand.patch of Package htmldoc
bug#510: Fix undefined symbols CUPS_SRAND and CUPS_RAND https://www.msweet.org/bugs.php?U510 Index: htmldoc-1.8.28/htmldoc/http.c =================================================================== --- htmldoc-1.8.28.orig/htmldoc/http.c +++ htmldoc-1.8.28/htmldoc/http.c @@ -1229,10 +1229,10 @@ httpInitialize(void) * it is the best we can do (on others, this seed isn't even used...) */ - CUPS_SRAND(time(NULL)); + srand(time(NULL)); for (i = 0; i < sizeof(data); i ++) - data[i] = CUPS_RAND(); + data[i] = rand(); RAND_seed(data, sizeof(data)); #endif /* HAVE_GNUTLS */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor