Bill Pringlemeir wrote:
> Sorry if the diff is messed up.  Is there and emacs mode for gtkg
> development?  I didn't see a preferred diff format on the web sight.

I prefer diff -u because I'm human too. It's a pity even svn doesn't
default to it. I've put this wrapper ".svn_diff" into my $PATH:

#! /bin/sh
exec diff -up ${1+"$@"}

and edited the helpers section of ~/.subversion/config to read:

diff-cmd = .svn_diff

The alternate is using "svn diff -x -u". Regarding emacs, a few
files that have been edited by emacsians include the tags. I don't
know whether they match the preferred style exactly. The file
doc/devguide/STYLE mentions them as well and gives further information
about style rules. It's not critical to obey these for contributors
but it may delay patches a lot if they aren't.

> This is just an off by one error that is probably harmless.  Although,
> this code is a little twisted and someone else might better think to
> change it entirely [use a static buffer if orig_argv[0] is too
> small?], instead of using this patch.

To be honest I'd prefer if we replaced this code relying on undefined
(or was it implementation-defined) behaviour with setproctitle() and just
ignore it on platforms which don't have this function. It probably
works on real-life platforms but if you've found a bug in candy code,
the candy was already too expensive IMHO.

-- 
Christian

Attachment: pgpYVIwDkagUJ.pgp
Description: PGP signature

Reply via email to