OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "Fuzzy" patching broken?

From: Otto Moerbeek (ottodrijf.net)
Date: Fri Sep 01 2006 - 04:44:24 CDT


On Fri, 1 Sep 2006, viq wrote:

> On 9/1/06, Ted Unangst <ted.unangstgmail.com> wrote:
> > On 8/31/06, viq <vicviqgmail.com> wrote:
> > > On 8/31/06, Otto Moerbeek <ottodrijf.net> wrote:
> > > > Now I don't know if GNU patch has a more smart heuristic for this
> > > > case, but it could very well be just good luck GNU patch is appplying
> > > > the hunk at a better place, in this particluar case.
> > >
> > > Yes, GNU patch doesn't seem to have problems with this, while
> > > OpenBSD's does. So, a bug or a feature? Fix patch or fix patches? ;)
> >
> > so what happens when the last line that was added prior to the diff is
> > # EOF
> > ? where does gnu diff put the eof marker?
> >
>
> I'm not sure what you're asking here... If you mean where does the
> resulting file end, then GNU as last line has:
> $(LN_S) $(silc_top_srcdir)/lib/.libs/libsilcclient.a .libs/silcclient.a
>
> while our gives after that line:
> silc-cmdqueue.h and a newline.
>
> If you want I can put online both those files and the resulting files.

Please do, since your posts were mangled by your mailer wrt whitespace
and line wraps.

        -Otto