After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683933 - rand_seed should be static in dict.c
rand_seed should be static in dict.c
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-13 09:47 UTC by Wouter Van Rooy
Modified: 2012-09-14 06:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix non static rand_seed variable (275 bytes, patch)
2012-09-13 09:47 UTC, Wouter Van Rooy
none Details | Review

Description Wouter Van Rooy 2012-09-13 09:47:38 UTC
Created attachment 224203 [details] [review]
patch to fix non static rand_seed variable

rand_seed should be a static variable in dict.c

We ran into a problem with another library that exports rand_seed as a function. Combined with 2.7.8 this was not a problem but later versions have this problem.


I have attached a small patch file to resolve this problem
Comment 1 Daniel Veillard 2012-09-14 06:41:18 UTC
makes sense, commited and pushed:

http://git.gnome.org/browse/libxml2/commit/?id=e7715a5963afebfb027120db6914926ec9a7373d

 thanks !

Daniel