Robert Haas escribió:
> The patch file turned out to be sorta garbled. I'm not sure if a
> broken version of diff was used to generate this or whether MauMau
> hand-edited it after the fact, but the number of lines that were
> indicated in the control lines didn't match the actual hunks, and
> patch threw up. So it took me 20 minutes to do what should have taken
> 5, but now it's done.
If this ever happens to you in the future, I suggest giving recountdiff
a look (in the patchutils package). It is supposed to fix offsets and
line counts of hand-edited diffs.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services