summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/macmodule.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 4190db0..75716db 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -176,7 +176,17 @@ mac_chdir(self, args)
object *self;
object *args;
{
+#ifdef USE_GUSI
+ object *rv;
+
+ /* Change MacOS's idea of wd too */
+ rv = mac_1str(args, chdir);
+ PyMac_FixGUSIcd();
+ return rv;
+#else
return mac_1str(args, chdir);
+#endif
+
}
static object *