diff -urN patch-2.5.9/pch.c patch-2.5.9-r1/pch.c --- patch-2.5.9/pch.c 2003-05-20 09:03:17.000000000 -0500 +++ patch-2.5.9-r1/pch.c 2005-03-01 06:35:52.606929000 -0600 @@ -366,10 +366,16 @@ if (!stars_last_line && strnEQ(s, "*** ", 4)) name[OLD] = fetchname (s+4, strippath, &p_timestamp[OLD]); else if (strnEQ(s, "+++ ", 4)) + { /* Swap with NEW below. */ name[OLD] = fetchname (s+4, strippath, &p_timestamp[OLD]); + p_strip_trailing_cr = strip_trailing_cr; + } else if (strnEQ(s, "Index:", 6)) + { name[INDEX] = fetchname (s+6, strippath, (time_t *) 0); + p_strip_trailing_cr = strip_trailing_cr; + } else if (strnEQ(s, "Prereq:", 7)) { for (t = s + 7; ISSPACE ((unsigned char) *t); t++) continue;