diff options
author | Gregory P. Smith <greg@krypto.org> | 2013-04-30 00:58:24 -0700 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2013-04-30 00:58:24 -0700 |
commit | f6eb3e9ba97d7489f84b9bc202c64c6b5022857f (patch) | |
tree | 4880d90365686f456d27477a9d0b4215970e76c8 /Python/dynload_next.c | |
parent | 260cc5e694d17bd560c33a6bea6f17f9005879f2 (diff) | |
parent | 2826f4e0f16b8b7804e313e3edd7731ceab0b1f6 (diff) | |
download | cpython-f6eb3e9ba97d7489f84b9bc202c64c6b5022857f.tar.gz |
news entry
Diffstat (limited to 'Python/dynload_next.c')
-rw-r--r-- | Python/dynload_next.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Python/dynload_next.c b/Python/dynload_next.c index cabf9b9663..85c95b41bb 100644 --- a/Python/dynload_next.c +++ b/Python/dynload_next.c @@ -8,11 +8,7 @@ #include <mach-o/dyld.h> -const struct filedescr _PyImport_DynLoadFiletab[] = { - {".so", "rb", C_EXTENSION}, - {"module.so", "rb", C_EXTENSION}, - {0, 0} -}; +const char *_PyImport_DynLoadFiletab[] = {".so", NULL}; /* ** Python modules are Mach-O MH_BUNDLE files. The best way to load these @@ -31,8 +27,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { #define LINKOPTIONS NSLINKMODULE_OPTION_BINDNOW| \ NSLINKMODULE_OPTION_RETURN_ON_ERROR|NSLINKMODULE_OPTION_PRIVATE #endif -dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, - const char *pathname, FILE *fp) +dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname, + const char *pathname, FILE *fp) { dl_funcptr p = NULL; char funcname[258]; |