summaryrefslogtreecommitdiffstats
path: root/Python/importdl.c
Commit message (Collapse)AuthorAgeFilesLines
* Add the flag RTLD_GLOBAL to the dlopen() options.Guido van Rossum1997-12-021-3/+7
| | | | | | | This exports symbols defined by the loaded extension to other extensions (loaded later). (I'm not quite sure about this but suppose it can't hurt...)
* os2 patch by Jeff RushGuido van Rossum1997-11-221-0/+38
|
* Fix importing of shared libraries from inside packages.Guido van Rossum1997-11-191-3/+16
| | | | | | | | This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls Py_InitModule*() with just "module" for the name. The shared library loader squirrels away the true name of the module in _Py_PackageContext, and Py_InitModule*() will substitute this (if the name actually matches).
* Shared libraries didn't quite work under AIX because of the change inGuido van Rossum1997-10-101-0/+11
| | | | | status of the GNU readline interface. Here's a patch, by Vladimir Marangozov.
* set sharedlib extensions properly for NeXT (Ted Horst)Guido van Rossum1997-08-161-0/+2
|
* The last of the mass checkins for separate (sub)interpreters.Guido van Rossum1997-08-021-4/+10
| | | | | | | Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail.
* Removed some variables that are used to exchange data between import.c andGuido van Rossum1997-07-211-9/+2
| | | | | | | | importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it.
* One last rename glitch: import_modules -> _PyImport_Modules.Guido van Rossum1997-05-141-1/+1
|
* Remove 2 out of 3 __FreeBSD__ tests.Guido van Rossum1997-05-051-2/+2
| | | | | These are no longer needed as of FreeBSD 2.0.5, according to Thomas Gellekum <tg@ihf.rwth-aachen.de>.
* Avoid some potential (though unlikely) sprintf buffer overflows.Guido van Rossum1997-04-301-3/+6
|
* Quickly renamed the remaining files -- this directory is done.Guido van Rossum1997-04-291-66/+84
|
* (Jack:) On the Mac, don't automatically enable dynamic loading.Guido van Rossum1997-04-111-8/+0
|
* Tweaks to keep the Microsoft compiler quier.Guido van Rossum1997-04-091-0/+3
|
* Some extra flags that an HPUX user wants me to add.Guido van Rossum1996-12-051-2/+2
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Rationalized MS ifdefsGuido van Rossum1996-09-111-15/+7
|
* Don't require <dlfcn.h> -- rely on existence of dlopen().Guido van Rossum1996-08-201-1/+3
|
* Many little fixes:Guido van Rossum1996-08-191-3/+19
| | | | | | | | - support for SCO_SV dynamic loading - on Mac, auto-detect dynamic loading by __CFM68K__ or _powerc) - on Mac, long shared library extension is .cfm68k.slb or .ppc.slb - on hp, don't redefine hpux if already defined - add __file__ property to successfully loaded module
* Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB)Guido van Rossum1996-08-091-0/+6
|
* Changes for AIX sharedlibs.Guido van Rossum1996-07-311-14/+120
|
* If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.Guido van Rossum1996-07-311-0/+4
|
* Corrections to aix_loaderror(), by Manus Hand.Guido van Rossum1996-06-261-5/+7
|
* removed verbose decl; added win3.1 dynamic linking.Guido van Rossum1996-05-231-3/+19
|
* Under NT, change "long" sharedlib extension to ".dll". (Mark H.)Guido van Rossum1996-04-091-1/+1
|
* __FreeBSD__ shared librariesGuido van Rossum1996-02-251-3/+4
|
* __hpux -> hpux equivalenceGuido van Rossum1996-01-121-0/+4
|
* Added missing include for <Aliases.h>Jack Jansen1995-10-231-3/+1
|
* NT specific change for nicer error message (Mark H)Guido van Rossum1995-07-181-3/+32
|
* Porting to CW CFM68KJack Jansen1995-06-271-1/+4
|
* re-enabled NeXT dynamic linking (#ifdef NeXT)Guido van Rossum1995-06-141-2/+2
|
* Mac dynloading is now enabled by USE_MAC_DYNAMIC_LOADING.Jack Jansen1995-06-141-11/+42
| | | | | Mac dynloading changed to allow multiple modules to live in with each other in the same file.
* Check if we've already loaded a dynamic module under a different name.Sjoerd Mullender1995-06-121-2/+35
|
* for BorlandCGuido van Rossum1995-02-271-1/+5
|
* change ifdefs and fix "%#s" formatGuido van Rossum1995-02-211-2/+2
|
* ported to 68K Mac; changed suffix to .slbGuido van Rossum1995-02-181-26/+18
|
* Added code to import dynamic modules using mac CFM.Jack Jansen1995-02-131-2/+41
|
* added changes for NetBSD dynamic linking; removed shared linking for NeXTGuido van Rossum1995-01-201-3/+16
|
* remove nogus reload checkGuido van Rossum1995-01-091-5/+0
|
* NT dlls have .pyd extension instead of .dllGuido van Rossum1995-01-071-2/+2
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
* Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum1995-01-021-0/+381
err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.