summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-08-06 16:06:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-08-06 16:06:31 (GMT)
commit3ca6eddb1235ca0e962c766f6b8ede1a76f08f70 (patch)
treebbfbb7e302373abfef683410d8973bd6aaf9e141 /Mac
parenteb1284be97004957a6de6c36df26a8626072659b (diff)
downloadcpython-3ca6eddb1235ca0e962c766f6b8ede1a76f08f70.zip
cpython-3ca6eddb1235ca0e962c766f6b8ede1a76f08f70.tar.gz
cpython-3ca6eddb1235ca0e962c766f6b8ede1a76f08f70.tar.bz2
GUSI mkdir() lost its dummy second arg
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/macmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 75716db..3d5c0cc 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -361,7 +361,11 @@ mac_mkdir(self, args)
if (!newgetargs(args, "s|i", &path, &mode))
return NULL;
BGN_SAVE
+#ifdef USE_GUSI
+ res = mkdir(path);
+#else
res = mkdir(path, mode);
+#endif
END_SAVE
if (res < 0)
return mac_error();