| 4162 | } |
| 4163 | |
| 4164 | static int check_patch_list(struct apply_state *state, struct patch *patch) |
| 4165 | { |
| 4166 | int err = 0; |
| 4167 | |
| 4168 | prepare_symlink_changes(state, patch); |
| 4169 | prepare_fn_table(state, patch); |
| 4170 | while (patch) { |
| 4171 | int res; |
| 4172 | if (state->apply_verbosity > verbosity_normal) |
| 4173 | say_patch_name(stderr, |
| 4174 | _("Checking patch %s..."), patch); |
| 4175 | res = check_patch(state, patch); |
| 4176 | if (res == -128) |
| 4177 | return -128; |
| 4178 | err |= res; |
| 4179 | patch = patch->next; |
| 4180 | } |
| 4181 | return err; |
| 4182 | } |
| 4183 | |
| 4184 | static int read_apply_cache(struct apply_state *state) |
| 4185 | { |
no test coverage detected