=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/diff3.c,v retrieving revision 1.10 retrieving revision 1.11 diff -c -r1.10 -r1.11 *** src/usr.bin/cvs/diff3.c 2005/12/24 04:10:51 1.10 --- src/usr.bin/cvs/diff3.c 2005/12/30 17:51:01 1.11 *************** *** 1,4 **** ! /* $OpenBSD: diff3.c,v 1.10 2005/12/24 04:10:51 joris Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diff3.c,v 1.11 2005/12/30 17:51:01 reyk Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 71,77 **** #endif /* not lint */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: diff3.c,v 1.10 2005/12/24 04:10:51 joris Exp $"; #endif /* not lint */ #include --- 71,78 ---- #endif /* not lint */ #ifndef lint ! static const char rcsid[] = ! "$OpenBSD: diff3.c,v 1.11 2005/12/30 17:51:01 reyk Exp $"; #endif /* not lint */ #include *************** *** 247,254 **** goto out; if (diff3_conflicts != 0) { ! cvs_printf("%d conflict%s found during merge, please correct.\n", ! diff3_conflicts, (diff3_conflicts > 1) ? "s" : ""); } xfree(data); --- 248,256 ---- goto out; if (diff3_conflicts != 0) { ! cvs_printf("%d conflict%s found during merge, " ! "please correct.\n", diff3_conflicts, ! (diff3_conflicts > 1) ? "s" : ""); } xfree(data); *************** *** 760,766 **** (void)fseek(fp[2], (long)de[n].new.from, 0); for (k = de[n].new.to-de[n].new.from; k > 0; k-= j) { j = k > BUFSIZ ? BUFSIZ : k; ! if (fread(block, (size_t)1, (size_t)j, fp[2]) != (size_t)j) return (-1); block[j] = '\0'; diff_output("%s", block); --- 762,769 ---- (void)fseek(fp[2], (long)de[n].new.from, 0); for (k = de[n].new.to-de[n].new.from; k > 0; k-= j) { j = k > BUFSIZ ? BUFSIZ : k; ! if (fread(block, (size_t)1, (size_t)j, ! fp[2]) != (size_t)j) return (-1); block[j] = '\0'; diff_output("%s", block);