summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-03-06 16:21:34 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-03-06 16:21:34 (GMT)
commit378815ca860871b4cfeed65ce31e0099fdb6c92c (patch)
tree05aca10edfea68369e6ac22d8d926019b0389d41 /Mac/Python/macmain.c
parent7275561d34c6a8565caf512ee3b647f200ca3155 (diff)
downloadcpython-378815ca860871b4cfeed65ce31e0099fdb6c92c.zip
cpython-378815ca860871b4cfeed65ce31e0099fdb6c92c.tar.gz
cpython-378815ca860871b4cfeed65ce31e0099fdb6c92c.tar.bz2
Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()
after each chdir call.
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r--Mac/Python/macmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 3d878ed..5cea381 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -192,6 +192,10 @@ PyMac_InitApplication()
*endp = '\0';
chdir(curwd);
+#ifdef USE_GUSI
+ /* Change MacOS's idea of wd too */
+ PyMac_FixGUSIcd();
+#endif
}
}
Py_Main(argc, argv);