With patch-2.6.1, a particular input file gives an assertion failure:

$ src/patch -i Makefile.in.diff 
patch: src/pch.c:1279: another_hunk: Assertion `p_prefix_context != -1
&& p_suffix_context != -1' failed.
Aborted (core dumped)

Input file attached.

Original bug report:
  https://bugzilla.redhat.com/show_bug.cgi?id=738959

Tim.
*/

*** pith/Makefile.in	2011-01-09 22:00:22.000000000 -0600
--- pith/Makefile.in	2011-08-27 11:41:33.000000000 -0500
***************
*** 405,405 ****
--- 405,406 ----
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/url.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rules.Po@am__quote@
  
  .c.o:
  @am__fastdepCC_TRUE@	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to