dav/system.c

branch
v1.2
changeset 454
fefddd41387e
parent 453
68a786fa4695
child 574
c36eddf167a8
equal deleted inserted replaced
453:68a786fa4695 454:fefddd41387e
98 int sys_unlink(const char *path) { 98 int sys_unlink(const char *path) {
99 return unlink(path); 99 return unlink(path);
100 } 100 }
101 101
102 int sys_mkdir(const char *path) { 102 int sys_mkdir(const char *path) {
103 #ifdef _WIN32
104 return mkdir(path);
105 #else
106 return mkdir(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); 103 return mkdir(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
107 #endif
108 } 104 }
109 105
110 #else 106 #else
111 /* ---------- Windows implementation ---------- */ 107 /* ---------- Windows implementation ---------- */
112 108

mercurial