Changeset: 53cc0c2906a8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/53cc0c2906a8
Modified Files:
clients/mapiclient/msqldump.c
Branch: default
Log Message:
Cant' use plain mkdir on Windows.
diffs (12 lines):
diff --git a/clients/mapiclient/msqldump.c b/clients/mapiclient/msqldump.c
--- a/clients/mapiclient/msqldump.c
+++ b/clients/mapiclient/msqldump.c
@@ -278,7 +278,7 @@ main(int argc, char **argv)
fprintf(stderr, "malloc failure\n");
exit(2);
}
- if (mkdir(outputdir, 0777) == -1 && errno != EEXIST) {
+ if (MT_mkdir(outputdir) == -1 && errno != EEXIST) {
perror("cannot create output directory");
exit(2);
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]