aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index ed708c6d3..a8286525a 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -637,21 +637,6 @@ static int filstat(char *nm, enum token mode)
637 return 0; 637 return 0;
638 } 638 }
639 639
640#if ENABLE_PLATFORM_MINGW32
641 if (mode == FILEX) {
642 char *p;
643
644 if (file_is_executable(nm)) {
645 return 1;
646 }
647 else if ((p=file_is_win32_executable(nm))) {
648 free(p);
649 return 1;
650 }
651 return 0;
652 }
653#endif
654
655 if (stat(nm, &s) != 0) 640 if (stat(nm, &s) != 0)
656 return 0; 641 return 0;
657 if (mode == FILEXIST) 642 if (mode == FILEXIST)