Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macgetargv.c @ 3054:2cb1416010b3 legacy-trunk
Python will now attempt (again) to create at least a minimal
preferences file if it is missing.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 31 Aug 1995 13:59:36 +0000 |
| parents | 927f4839fbfa |
| children | 3b2be811a66a |
line wrap: on
line diff
--- a/Mac/Python/macgetargv.c Thu Aug 31 13:58:28 1995 +0000 +++ b/Mac/Python/macgetargv.c Thu Aug 31 13:59:36 1995 +0000 @@ -75,8 +75,8 @@ /* 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 @@ 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;
