summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetargv.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-08-31 13:59:36 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-08-31 13:59:36 (GMT)
commit41fa7ea7195bffab0d72586199652ea702218e08 (patch)
treebd7246daf0df6ff2ae428060b65dd4e219403216 /Mac/Python/macgetargv.c
parent9119ccfadda51648fd48d40a925a8f8b666cf18d (diff)
downloadcpython-41fa7ea7195bffab0d72586199652ea702218e08.zip
cpython-41fa7ea7195bffab0d72586199652ea702218e08.tar.gz
cpython-41fa7ea7195bffab0d72586199652ea702218e08.tar.bz2
Python will now attempt (again) to create at least a minimal
preferences file if it is missing.
Diffstat (limited to 'Mac/Python/macgetargv.c')
-rw-r--r--Mac/Python/macgetargv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Python/macgetargv.c b/Mac/Python/macgetargv.c
index 2c90997..7c34360 100644
--- a/Mac/Python/macgetargv.c
+++ b/Mac/Python/macgetargv.c
@@ -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;