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 591737 - Don't open shared libraries twice
Don't open shared libraries twice
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-08-13 19:19 UTC by Owen Taylor
Modified: 2015-02-07 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't open shared libraries twice (1.17 KB, patch)
2009-08-13 19:19 UTC, Owen Taylor
accepted-commit_now Details | Review

Description Owen Taylor 2009-08-13 19:19:14 UTC
This was noted reading code, and not yet tested, so if there's some subtle
reason why we *want* to g_module_open() twice, I wouldn't have noticed.
Comment 1 Owen Taylor 2009-08-13 19:19:19 UTC
Created attachment 140691 [details] [review]
Don't open shared libraries twice

If loading a referenced shared library succeeds, don't try loading it again.
Comment 2 Colin Walters 2009-08-14 01:35:52 UTC
yep
Comment 3 Owen Taylor 2009-08-14 01:42:18 UTC
Pushed
Comment 4 André Klapper 2015-02-07 16:49:46 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]