| 2180 | } |
| 2181 | |
| 2182 | static void prefix_one(struct apply_state *state, char **name) |
| 2183 | { |
| 2184 | char *old_name = *name; |
| 2185 | if (!old_name) |
| 2186 | return; |
| 2187 | *name = prefix_filename(state->prefix, *name); |
| 2188 | free(old_name); |
| 2189 | } |
| 2190 | |
| 2191 | static void prefix_patch(struct apply_state *state, struct patch *p) |
| 2192 | { |
no test coverage detected