removes unnecessary code v1.2

Thu, 19 Jul 2018 16:32:27 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 19 Jul 2018 16:32:27 +0200
branch
v1.2
changeset 454
fefddd41387e
parent 453
68a786fa4695
child 455
d6dea8c17f68

removes unnecessary code

dav/system.c file | annotate | diff | comparison | revisions
dav/system.h file | annotate | diff | comparison | revisions
--- a/dav/system.c	Thu Jul 19 16:28:37 2018 +0200
+++ b/dav/system.c	Thu Jul 19 16:32:27 2018 +0200
@@ -100,11 +100,7 @@
 }
 
 int sys_mkdir(const char *path) {
-#ifdef _WIN32
-    return mkdir(path);
-#else
     return mkdir(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
-#endif
 }
 
 #else
--- a/dav/system.h	Thu Jul 19 16:28:37 2018 +0200
+++ b/dav/system.h	Thu Jul 19 16:32:27 2018 +0200
@@ -54,10 +54,6 @@
     WIN32_FIND_DATAW finddata;
     SysDirEnt *ent;
 };
-typedef struct SysDir {
-    DIR *dir;
-    SysDirEnt *ent;
-} SysDir;
 #define SYS_DIR struct WinDir*
 #define SYS_STAT struct __stat64
 

mercurial