]> granicus.if.org Git - python/commitdiff
Some extra flags that an HPUX user wants me to add.
authorGuido van Rossum <guido@python.org>
Thu, 5 Dec 1996 23:15:35 +0000 (23:15 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 5 Dec 1996 23:15:35 +0000 (23:15 +0000)
Python/importdl.c

index 234d3fa5a49ccc42ce46f434a339303938df28f3..2abef33c0bbee8bf83dfafbd8b9b16f200f5e4ef 100644 (file)
@@ -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);