Path: utzoo!attcan!uunet!ubvax!ardent!rap From: rap@ardent.UUCP (Rob Peck) Newsgroups: comp.sources.d Subject: Re: changebar posting to comp.source.unix Summary: a bug, already. Message-ID: <4850@ardent.UUCP> Date: 17 Mar 89 19:07:38 GMT Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 20 An interested user has tried the changebar posting that I made and has found a bug for which there is, in my opinion, a simple workaround until we figure out an appropriate patch for it: Problem: If two files have a difference in the LAST line, the program does not indicate the change correctly (I think he said one of the hunk patches fails). Workaround: check your files first, or simply append a blank line to BOTH files before you start. I am sure that we can create temp files or something after doing a 'tail -1' on both files and see if they are identical or not, appending a blank line to each before we start. Anyone who wants to contribute such a patch is welcome to submit it to me -- there'll prolly be other bugs found (but then, maybe not). So this is a beware of a known-bug notice. Rob Peck