Utility function to get file extension from file */
| 662 | |
| 663 | /*Utility function to get file extension from file */ |
| 664 | const char* UTIL_getFileExtension(const char* infilename) |
| 665 | { |
| 666 | const char* extension = strrchr(infilename, '.'); |
| 667 | if(!extension || extension==infilename) return ""; |
| 668 | return extension; |
| 669 | } |
| 670 | |
| 671 | static int pathnameHas2Dots(const char *pathname) |
| 672 | { |
no test coverage detected