Trying to fix CR/LF troubles, Daniel
diff --git a/runsuite.c b/runsuite.c
index deef129..3d9d6b7 100644
--- a/runsuite.c
+++ b/runsuite.c
@@ -11,7 +11,6 @@
#endif
#include <string.h>
#include <stdio.h>
-#include <glob.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -46,11 +45,17 @@
if (stat(filename, &buf) == -1)
return(0);
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ if (!(buf.st_mode & _S_IFREG))
+ return(0);
+#else
if (!S_ISREG(buf.st_mode))
return(0);
+#endif
return(1);
}
+
static xmlChar *composeDir(const xmlChar *dir, const xmlChar *path) {
char buf[500];