bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make patch behave more gracefully on patch lines with single space


From: Andreas Gruenbacher
Subject: Re: Make patch behave more gracefully on patch lines with single space
Date: Sat, 28 Mar 2009 00:25:32 +0100
User-agent: KMail/1.9.9

On Tuesday, 28 November 2006 0:19:43 J. Scott Berg wrote:
> I downloaded some patches that got munged so that lines that should have
> consisted solely of two spaces instead had a single space.  The
> resulting patch fails to apply and produces a funky .rej file in the
> process.  Two text files and a patch to convert one to the other, with
> the double space turned into a single one, are attached.  Using -l
> doesn't help.

Thanks for reporting. This was fixed as a side effect of:

  http://git.savannah.gnu.org/cgit/patch.git/commit/?id=4399677be

I'm adding an explicit test case. The alpha versions in 
ftp://alpha.gnu.org/gnu/patch include the fix.

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]