From owner-freebsd-current Fri Dec 26 18:45:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA22014 for current-outgoing; Fri, 26 Dec 1997 18:45:20 -0800 (PST) (envelope-from owner-freebsd-current) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA22004 for ; Fri, 26 Dec 1997 18:45:14 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id DAA13721; Sat, 27 Dec 1997 03:42:50 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199712270242.DAA13721@ocean.campus.luth.se> Subject: Re: Bruce vandalism again In-Reply-To: <199712201945.GAA17208@godzilla.zeta.org.au> from Bruce Evans at "Dec 21, 97 06:45:32 am" To: bde@zeta.org.au (Bruce Evans) Date: Sat, 27 Dec 1997 03:42:50 +0100 (CET) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Bruce Evans: > >> It should be self-consistant, moving towards ANSI by 3.0. > > > >And unless you do each file *completely* during the transition, you > >can't have both at once. That is the essence of the argument going on > >now. If you do it half-assed, self-consistancy goes out the window. > > And if you do it full-assed, then the usefulness of `cvs diff' and > `cvs -j' goes out the window. If you disagree, try merging some Lite2 > code into gratuitously changed code, and then verifying that the merge > is correct. ffs_vfsops.c is a good place to start - it is missing > important Lite2 security-related code for mount(). Really, that's so much hard work anyway. Ok, I'm not for making it harder, doesn't a cdiff program (or option to diff) seem more sane? One that parses the c code, and ignores inserted/removed empty lines, tabs, spaces, and comments (possibly changeable with an option so you could get the comment changes only), etc? I've been missing such a program for ages. It's a real pain to find real changes in huge amounts of "noice" that accumulates over time in c files, as you accidently delete a tab, and replace it with spaces, and so on. Isn't there such a program out there? If not, doesn't anyone think it's a nice idea? It shouldn't be that hard to write. I'd wriet it myself, but I seem to never get anywhere with my projects. If I had the time.. *sigh* /Mikael