| 2084 | } |
| 2085 | |
| 2086 | static int check_pbase_path(unsigned hash) |
| 2087 | { |
| 2088 | int pos = done_pbase_path_pos(hash); |
| 2089 | if (0 <= pos) |
| 2090 | return 1; |
| 2091 | pos = -pos - 1; |
| 2092 | ALLOC_GROW(done_pbase_paths, |
| 2093 | done_pbase_paths_num + 1, |
| 2094 | done_pbase_paths_alloc); |
| 2095 | done_pbase_paths_num++; |
| 2096 | if (pos < done_pbase_paths_num) |
| 2097 | MOVE_ARRAY(done_pbase_paths + pos + 1, done_pbase_paths + pos, |
| 2098 | done_pbase_paths_num - pos - 1); |
| 2099 | done_pbase_paths[pos] = hash; |
| 2100 | return 0; |
| 2101 | } |
| 2102 | |
| 2103 | static void add_preferred_base_object(const char *name) |
| 2104 | { |
no test coverage detected