src/server/daemon/vfs.c

branch
aio
changeset 185
b4d7ccf4e06d
parent 172
5580517faafc
child 187
4384bfbb7e26
--- a/src/server/daemon/vfs.c	Tue Jan 09 15:02:24 2018 +0100
+++ b/src/server/daemon/vfs.c	Wed Jan 10 15:46:17 2018 +0100
@@ -524,19 +524,13 @@
             return sys_dir_read(dir, entry, getstat);
         } else {
             entry->name = name;
-#ifndef OSX
-            /* TODO:
-             * implement alternative for fstat for OS X and other crappy
-             * Unices
-             */
             if(getstat) {
                 // TODO: check ACLs again for new path
                 if(fstatat(dir->fd, result->d_name, &entry->stat, 0)) {
                     entry->stat_errno = errno;
                 }
                 entry->stat_extra = NULL;
-            }
-#endif      
+            }     
             return 1;
         }
     } else {

mercurial