From 784ea5066cbea73d04e8ce5783dd0eb842e3ac1f Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 11 Dec 1999 12:24:21 +0000 Subject: Import cvs-1.10.7. There are a number of nasty bugs that have been fixed. Obtained from: cyclic.com --- contrib/cvs/diff/diffrun.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib/cvs/diff/diffrun.h') diff --git a/contrib/cvs/diff/diffrun.h b/contrib/cvs/diff/diffrun.h index 28c1f45..08fbd0d 100644 --- a/contrib/cvs/diff/diffrun.h +++ b/contrib/cvs/diff/diffrun.h @@ -13,9 +13,7 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with GNU DIFF; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +*/ #ifndef DIFFRUN_H #define DIFFRUN_H @@ -41,12 +39,14 @@ struct diff_callbacks { /* Write output. This function just writes a string of a given length to the output file. The default is to fwrite to OUTFILE. - If this callback is defined, flush_output must also be defined. */ + If this callback is defined, flush_output must also be defined. + If the length is zero, output zero bytes. */ void (*write_output) DIFFPARAMS((char const *, size_t)); /* Flush output. The default is to fflush OUTFILE. If this callback is defined, write_output must also be defined. */ void (*flush_output) DIFFPARAMS((void)); - /* Write to stdout. This is called for version and help messages. */ + /* Write a '\0'-terminated string to stdout. + This is called for version and help messages. */ void (*write_stdout) DIFFPARAMS((char const *)); /* Print an error message. The first argument is a printf format, and the next two are parameters. The default is to print a -- cgit v1.1