summaryrefslogtreecommitdiff
path: root/mysys/my_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_lib.c')
-rw-r--r--mysys/my_lib.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/mysys/my_lib.c b/mysys/my_lib.c
index b949fe17949..c3b0b57e549 100644
--- a/mysys/my_lib.c
+++ b/mysys/my_lib.c
@@ -461,17 +461,6 @@ MY_DIR *my_dir(const char *path, myf MyFlags)
else
finfo.mystat= NULL;
- /*
- If the directory is the root directory of the drive, Windows sometimes
- creates hidden or system files there (like RECYCLER); do not show
- them. We would need to see how this can be achieved with a Borland
- compiler.
- */
-#ifndef __BORLANDC__
- if (attrib & (_A_HIDDEN | _A_SYSTEM))
- continue;
-#endif
-
if (push_dynamic(dir_entries_storage, (gptr)&finfo))
goto error;