Python will now attempt (again) to create at least a minimal

preferences file if it is missing.
This commit is contained in:
Jack Jansen 1995-08-31 13:59:36 +00:00
parent 9119ccfadd
commit 41fa7ea719
3 changed files with 93 additions and 101 deletions

View file

@ -75,8 +75,8 @@ strdup(char *src)
/* Return FSSpec of current application */
static OSErr
current_process_location(FSSpec *applicationSpec)
OSErr
PyMac_process_location(FSSpec *applicationSpec)
{
ProcessSerialNumber currentPSN;
ProcessInfoRec info;
@ -155,7 +155,7 @@ get_application_name()
static char appname[256];
FSSpec appspec;
if (current_process_location(&appspec))
if (PyMac_process_location(&appspec))
return NULL;
if (get_full_path(&appspec, appname))
return NULL;