Commits

Jack Jansen  committed 3868485

GUSI mkdir() lost its dummy second arg

  • Participants
  • Parent commits 0d4437d
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Mac/Modules/macmodule.c

 	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();