=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/diff3.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/rcs/diff3.c 2006/05/04 07:06:58 1.5 --- src/usr.bin/rcs/diff3.c 2006/05/08 10:19:34 1.6 *************** *** 1,4 **** ! /* $OpenBSD: diff3.c,v 1.5 2006/05/04 07:06:58 xsa Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diff3.c,v 1.6 2006/05/08 10:19:34 xsa Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 72,78 **** #ifndef lint static const char rcsid[] = ! "$OpenBSD: diff3.c,v 1.5 2006/05/04 07:06:58 xsa Exp $"; #endif /* not lint */ #include "includes.h" --- 72,78 ---- #ifndef lint static const char rcsid[] = ! "$OpenBSD: diff3.c,v 1.6 2006/05/08 10:19:34 xsa Exp $"; #endif /* not lint */ #include "includes.h" *************** *** 171,182 **** goto out; if (verbose == 1) ! printf("Retrieving revision %s\n", r1); if ((b2 = rcs_getrev(rf, rev1)) == NULL) goto out; if (verbose == 1) ! printf("Retrieving revision %s\n", r2); if ((b3 = rcs_getrev(rf, rev2)) == NULL) goto out; --- 171,182 ---- goto out; if (verbose == 1) ! (void)fprintf(stderr, "retrieving revision %s\n", r1); if ((b2 = rcs_getrev(rf, rev1)) == NULL) goto out; if (verbose == 1) ! (void)fprintf(stderr, "retrieving revision %s\n", r2); if ((b3 = rcs_getrev(rf, rev2)) == NULL) goto out; *************** *** 235,245 **** if ((diffb = rcs_patchfile(data, patch, ed_patch_lines)) == NULL) goto out; ! if (verbose == 1 && diff3_conflicts != 0) { ! warnx("%d conflict%s found during merge, " ! "please correct.", diff3_conflicts, ! (diff3_conflicts > 1) ? "s" : ""); ! } xfree(data); xfree(patch); --- 235,242 ---- if ((diffb = rcs_patchfile(data, patch, ed_patch_lines)) == NULL) goto out; ! if (verbose == 1 && diff3_conflicts != 0) ! warnx("warning: overlaps or other problems during merge"); xfree(data); xfree(patch);