| 5529 | } |
| 5530 | |
| 5531 | static bool win_parent_valid(const wchar_t *parent) { |
| 5532 | DWORD attributes = GetFileAttributesW(parent); |
| 5533 | return attributes != INVALID_FILE_ATTRIBUTES && (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0 && |
| 5534 | (attributes & FILE_ATTRIBUTE_REPARSE_POINT) == 0; |
| 5535 | } |
| 5536 | |
| 5537 | static wchar_t *win_default_runtime_parent(void) { |
| 5538 | wchar_t path[MAX_PATH]; |
no outgoing calls
no test coverage detected