| 948 | //========================================================================== |
| 949 | |
| 950 | bool IsAbsPath(const char *name) |
| 951 | { |
| 952 | if (IsSeperator(name[0])) return true; |
| 953 | #ifdef _WIN32 |
| 954 | /* [A-Za-z]: (for Windows) */ |
| 955 | if (isalpha((uint8_t)name[0]) && name[1] == ':') return true; |
| 956 | #endif /* _WIN32 */ |
| 957 | return 0; |
| 958 | } |
| 959 | |
| 960 | //========================================================================== |
| 961 | // |
no test coverage detected