From: Neal Norwitz Date: Sat, 2 Nov 2002 20:58:05 +0000 (+0000) Subject: Fix SF # 551504, python -v sometimes fails to find init (HPUX) X-Git-Tag: v2.3c1~3612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40cac739c26129fee15b4c2fa696d5f490982239;p=python 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. --- diff --git a/Python/dynload_hpux.c b/Python/dynload_hpux.c index 6aef796f11..b4de08146c 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); }