quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] [PATCH] Work around GNU patch limitation of patch format


From: Jean Delvare
Subject: Re: [Quilt-dev] [PATCH] Work around GNU patch limitation of patch format
Date: Tue, 25 Feb 2014 16:04:40 +0100

Hi Andreas,

Thanks for the quick reply.

On Tue, 25 Feb 2014 15:19:16 +0100, Andreas Grünbacher wrote:
> Am 25.02.2014 14:24 schrieb "Jean Delvare" <address@hidden>:
> > GNU patch is unable to deal with patch headers without timestamps if
> > a file name includes a space. Quilt currently generates such patches
> > if $QUILT_NO_DIFF_TIMESTAMPS is defined.
> >
> > In order to work around this limitation and always generate patches
> > that GNU patch will be able to apply, add a tab and a dash after the
> > file name in the patch header if $QUILT_NO_DIFF_TIMESTAMPS is set and
> > the file name contains a space.
>
> Please no, let's fix patch instead.

Well, I reported the problem to the bug-patch list 2 weeks ago:
http://lists.gnu.org/archive/html/bug-patch/2014-02/msg00000.html

But I didn't get any reply. So at this point I have no idea if it is
actually considered a bug in GNU patch, or a limitation of the unified
patch format. Do you know is this format is officially specified
somewhere, BTW? That would be useful in such cases, to figure out what
would be considered the correct behavior.

I can't wait forever for the GNU patch developers to reply, which is
why I came up with this workaround. If the problem is ever fixed in GNU
patch, I'll be more than happy to remove the workaround.

Thanks,
-- 
Jean Delvare
Suse L3 Support



reply via email to

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