summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 23:15:35 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 23:15:35 (GMT)
commit3afb5959aa6e401c96ef65deea5ae3ccaedeb011 (patch)
treea8bf15ab425478bac40747b50cd2df74d7b83496 /Python
parentb0c168cbe87252b72e5fbaa3441598e5fd4f27e1 (diff)
downloadcpython-3afb5959aa6e401c96ef65deea5ae3ccaedeb011.zip
cpython-3afb5959aa6e401c96ef65deea5ae3ccaedeb011.tar.gz
cpython-3afb5959aa6e401c96ef65deea5ae3ccaedeb011.tar.bz2
Some extra flags that an HPUX user wants me to add.
Diffstat (limited to 'Python')
-rw-r--r--Python/importdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 234d3fa..2abef33 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -480,10 +480,10 @@ load_dynamic_module(name, pathname, fp)
shl_t lib;
int flags;
- flags = BIND_DEFERRED;
+ flags = BIND_FIRST | BIND_DEFERRED;
if (verbose)
{
- flags = BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
+ flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE;
printf("shl_load %s\n",pathname);
}
lib = shl_load(pathname, flags, 0);