[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: gnu diff (was Re: does it really need gnu patch?)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-25 00:22:19 CET

"Perry E. Metzger" <perry@piermont.com> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > I know that we require GNU diff, because it's the only version of diff
> > that can deal with files that don't end with a newline. That's why I
> > originally wrote ac-helpers/gnu-diff.sh.
>
> Hmm. It seems that NetBSD's diff, although it claims to be gnu diff 2.7,
> does not pass this test. Any ideas on what I have to do to fix any
> damage done to it so it will work?

Aha! Looks like the NetBSD folks are using the same 'hacked' diff as
the FreeBSD folks.

Build diffutils. Install them into /usr/local/bin, perhaps as 'gdiff'
and 'gpatch'. Those will be found.

On my own system, I just keep a version of GNU diff in ~/bin/diff,
which also happens to be in my $PATH. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

This is an archived mail posted to the Subversion Dev mailing list.