| 333 | #ifdef _WIN32 |
| 334 | |
| 335 | static bool diag_full_path(const char *base_name, char *path, size_t path_size) { |
| 336 | int written = snprintf(path, path_size, "%s/%s", g_diag_directory_path, base_name); |
| 337 | return written > 0 && (size_t)written < path_size; |
| 338 | } |
| 339 | |
| 340 | static bool diag_win_handle_valid(HANDLE handle) { |
| 341 | BY_HANDLE_FILE_INFORMATION information; |
no outgoing calls
no test coverage detected