mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()
after each chdir call.
This commit is contained in:
parent
7275561d34
commit
378815ca86
4 changed files with 48 additions and 15 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue