]> granicus.if.org Git - python/commitdiff
Initialize the program name before adding shared library resources (Just).
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 31 Jul 1998 09:38:01 +0000 (09:38 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 31 Jul 1998 09:38:01 +0000 (09:38 +0000)
Mac/Python/macmain.c

index 8fac6f0c1aff4dab19b108ce043e507585d167ab..24bcd77baa5dbfcfaae728e2ee243b96c6732ccb 100644 (file)
@@ -201,6 +201,7 @@ init_common(int *argcp, char ***argvp, int embedded)
        
 #ifdef USE_MAC_SHARED_LIBRARY
        /* Add the shared library to the stack of resource files */
+       (void)PyMac_init_process_location();
        PyMac_AddLibResources();
 #endif