dav/system.c

changeset 448
3bef733c55b3
parent 447
a4a71ecfb9d6
child 574
c36eddf167a8
equal deleted inserted replaced
447:a4a71ecfb9d6 448:3bef733c55b3
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