gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: a decent-gnupatch detector (was: unsigned to si


From: Jan Hudec
Subject: Re: [Gnu-arch-users] Re: a decent-gnupatch detector (was: unsigned to signed archive conversion causing trouble?)
Date: Tue, 6 Jan 2004 19:38:24 +0100
User-agent: Mutt/1.5.4i

On Tue, Jan 06, 2004 at 15:57:15 +0100, Andreas Fuchs wrote:
> Today, Jan Hudec <address@hidden> wrote:
> > On Tue, Jan 06, 2004 at 12:40:30 +0100, Ollivier Robert wrote:
> >> The FreeBSD patch has been patched (:)) to deal with that a while
> >> ago, before 4.6.
> >>
> >> revision 1.18 date: 2002/04/26 19:01:19; author: gad; state: Exp;
> >> lines: +65 -1 Modify our 'patch' utility to recognize the \ No
> >> newline at end of file line that some versions of diff print out if
> >> the last line of the two files are different, and one of the two
> >> files does not have a newline character on that last line.
> >
> > That is a good news. However, since a patch that recognize unified
> > format, but not this line, ever existed, the feature should be
> > tested.
> 
> Right. The script at <URL:http://boinkor.net/arch/patch-detect.2.sh>
> now generates a "\No newline" test case, too.
> 
> I'm not too certain that we should test for every bug in the existence
> of patch, though. Just testing for the most common show-stoppers
> should be enough to provide a workable user experience.

Of course, but this is surely an important one (taken into account with
what ease emacs creates such files).

However, I suspect there might be yet another problem, since this one is
supposed to be fixed since freebsd 4.6.

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>




reply via email to

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