[PD-dev] [ pure-data-Patches-1083495 ] s_loader.c: osx external loading

SourceForge.net noreply at sourceforge.net
Sat Dec 11 17:25:20 CET 2004


Patches item #1083495, was opened at 2004-12-11 11:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1083495&group_id=55736

Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Submitted By: Jamie Tittle (tigital)
Assigned to: Nobody/Anonymous (nobody)
Summary: s_loader.c:  osx external loading

Initial Comment:
...years ago, the NSLINKMODULE_OPTION_PRIVATE flag was
introduced to NSLinkModule() in an effort to prevent pd
from crashing when a library is loaded that has
duplicate symbols to an already loaded library...sure,
it's desirable to not crash, but this flag has the side
effect of artificially partitioning the loaded symbols
such that we can't access one library easily from
another...

...so, this patch removes the PRIVATE flag and adds
another RETURN_ON_ERROR flag, which works as
advertised...I've also added a small bit of code to
spit out some info about what the error was, and in
which file...

...another point to consider is the linker flag
-flat_namespace, and whether it is needed at all
anymore (the default would be -twolevel_namespace)...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1083495&group_id=55736




More information about the Pd-dev mailing list