Home | History | Annotate | Download | only in patch

Lines Matching defs:hunk

156 	int	error = 0, hunk, failed, i, fd;
250 /* apply each hunk of patch */
251 hunk = 0;
255 hunk++;
263 if (hunk == 1 && where == 0 && !force) {
267 say("Not enough memory to try swapped hunk! Assuming unswapped.\n");
277 fatal("lost hunk on alloc error!\n");
282 fatal("lost hunk on alloc error!\n");
305 fatal("lost hunk on alloc error!\n");
326 say("Hunk #%d ignored at %ld.\n",
327 hunk, newwhere);
332 say("Hunk #%d failed at %ld.\n",
333 hunk, newwhere);
337 say("Hunk #%d succeeded at %ld",
338 hunk, newwhere);
362 if (hunk == 0)
363 fatal("Internal error: hunk should not be 0\n");
417 failed, hunk, rejname);
420 failed, hunk, rejname);
651 * Attempt to find the right place to apply this hunk of patch.
699 /* We did not find the pattern, dump out the hunk so they can handle it. */
708 * hunk
787 fprintf(rejfp, "malformed hunk: no split found\n");
965 * Copy input file to output, up to wherever hunk is to be applied.