| 44 | ************************************************************************/ |
| 45 | |
| 46 | static int checkTestFile(const char *filename) { |
| 47 | struct stat buf; |
| 48 | |
| 49 | if (stat(filename, &buf) == -1) |
| 50 | return(0); |
| 51 | |
| 52 | #if defined(_WIN32) |
| 53 | if (!(buf.st_mode & _S_IFREG)) |
| 54 | return(0); |
| 55 | #else |
| 56 | if (!S_ISREG(buf.st_mode)) |
| 57 | return(0); |
| 58 | #endif |
| 59 | |
| 60 | return(1); |
| 61 | } |
| 62 | |
| 63 | static xmlChar *composeDir(const xmlChar *dir, const xmlChar *path) { |
| 64 | char buf[500]; |
no test coverage detected