summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-02 20:58:05 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-02 20:58:05 (GMT)
commit40cac739c26129fee15b4c2fa696d5f490982239 (patch)
treec665a4243d3881f0bbc126a2d680366a4cd6b6d8
parente08e1bc80a526ab850ae6d1be72f49e08c34f68b (diff)
downloadcpython-40cac739c26129fee15b4c2fa696d5f490982239.zip
cpython-40cac739c26129fee15b4c2fa696d5f490982239.tar.gz
cpython-40cac739c26129fee15b4c2fa696d5f490982239.tar.bz2
Fix SF # 551504, python -v sometimes fails to find init (HPUX)
Joseph Winston recommends removing DYNAMIC_PATH, since it can cause some dynamic libraries to not load on HP-UX 11.
-rw-r--r--Python/dynload_hpux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c
index 6aef796..b4de0814 100644
--- a/Python/dynload_hpux.c
+++ b/Python/dynload_hpux.c
@@ -29,7 +29,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
flags = BIND_FIRST | BIND_DEFERRED;
if (Py_VerboseFlag) {
- flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE |
+ flags = BIND_FIRST | BIND_IMMEDIATE |
BIND_NONFATAL | BIND_VERBOSE;
printf("shl_load %s\n",pathname);
}