2017-09-04 20:37 GMT+02:00 Benno Schulenberg <bensb...@telfort.nl>: > > Op 4-09-2017 om 18:37 schreef Andreas Grünbacher: >> >> 2017-09-04 18:04 GMT+02:00 Benno Schulenberg <bensb...@telfort.nl>: >>> >>> The original testor.c has this: >>> $ wc testor.c >>> 95 388 2719 testor.c >> >> >> Not in my testing: >> >> $ wc testor.c >> 103 415 2983 testor.c > > > Ouch. Attached a wrong testor.c? I could have sworn I attached > the correct, unpatched file. :| Now then.
I could reproduce now. It seems that locate_hunk starts scanning the input file too high up after applying the first hunk, and so it "finds" the same position again. I guess last_frozen_line is set wrong, but I haven't finished debugging the code yet. Thanks, Andreas