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

Re: [PATCH] Add -p to show C function names was Re: [PATCH] Extra options for libsvn_diff

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2007-12-30 00:18:49 CET

On Dec 29, 2007 3:11 PM, David Glasser <glasser@davidglasser.net> wrote:
> > Well for C++, with r28702, it's useful for diffs against header files
> > - instead of showing "private:", you get the class name. *shrug* --
>
> Ah, good point. So it's a pretty different feature than the OpenBSD
> one, but it's useful.

If I read the OpenBSD code correctly (may not have, I guess), it'd
emit "(private) <class name>" in this case. (GNU diff would just emit
'private:'.) I just didn't feel it was worth the code complexity to
emit 'private' or 'public' or whatever - it's easier to just skip it.
-- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 30 06:35:48 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.