Hi, I have GNU patch version 2.6.1.116-33c4 and working in a Windows/Linux environment, so i got a lot of patches with CR/LF terminators, to be handled on my Linux machine (OpenSuSE 12.1). If i try to apply such a patch, the first message is:
(Stripping trailing CRs from patch.) ... However, the CRs seem not ignored, but handled in a strange way: - The CRs of the input is compared with the source, even if the -l (--ignore-whitespace) switch is given. It does not ignore CR, which is a whitespace, IMHO. - The line started with "+++" must not end with CR or CRLF, or else all hunks of that file will fail, independently from the source match. Currently i have a script which removes the CRs from lines beginning with "+++", it seems resolve the problem. Please help me if it is a patch bug, or i do something wrong. Thanx in advance Gyorgy Kovesdi