diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-03-06 16:21:34 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-03-06 16:21:34 (GMT) |
commit | 378815ca860871b4cfeed65ce31e0099fdb6c92c (patch) | |
tree | 05aca10edfea68369e6ac22d8d926019b0389d41 /Mac/Modules/macmodule.c | |
parent | 7275561d34c6a8565caf512ee3b647f200ca3155 (diff) | |
download | cpython-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/Modules/macmodule.c')
-rw-r--r-- | Mac/Modules/macmodule.c | 10 |
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 * |