summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff3.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2009-06-06 14:17:27 +0000
committerray <ray@openbsd.org>2009-06-06 14:17:27 +0000
commit219c50ab10ac37e246284752a13e1248194e4aff (patch)
treefb9e2e5d56b93ce34fe40e42efb761537896a09f /usr.bin/cvs/diff3.c
parent- supports rtl8187b (diff)
downloadwireguard-openbsd-219c50ab10ac37e246284752a13e1248194e4aff.tar.xz
wireguard-openbsd-219c50ab10ac37e246284752a13e1248194e4aff.zip
Sync some rcsdiff changes to cvsdiff. As a side effect,
cvs diff -t now works. There should be no functional change otherwise. OK millert
Diffstat (limited to 'usr.bin/cvs/diff3.c')
-rw-r--r--usr.bin/cvs/diff3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/diff3.c b/usr.bin/cvs/diff3.c
index 30871960396..87fb9f329d6 100644
--- a/usr.bin/cvs/diff3.c
+++ b/usr.bin/cvs/diff3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff3.c,v 1.48 2008/03/09 01:52:55 joris Exp $ */
+/* $OpenBSD: diff3.c,v 1.49 2009/06/06 14:17:27 ray Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -72,7 +72,7 @@ static const char copyright[] =
#ifndef lint
static const char rcsid[] =
- "$OpenBSD: diff3.c,v 1.48 2008/03/09 01:52:55 joris Exp $";
+ "$OpenBSD: diff3.c,v 1.49 2009/06/06 14:17:27 ray Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -199,8 +199,8 @@ cvs_merge_file(struct cvs_file *cf, int verbose)
cvs_printf("Retrieving revision %s\n", r2);
fds[4] = rcs_rev_write_stmp(cf->file_rcs, d3rev2, path3, 0);
- cvs_diffreg(path1, path3, fds[2], fds[4], d1);
- cvs_diffreg(path2, path3, fds[3], fds[4], d2);
+ cvs_diffreg(path1, path3, fds[2], fds[4], d1, D_FORCEASCII);
+ cvs_diffreg(path2, path3, fds[3], fds[4], d2, D_FORCEASCII);
(void)xasprintf(&dp13, "%s/d13.XXXXXXXXXX", cvs_tmpdir);
fds[0] = cvs_buf_write_stmp(d1, dp13, NULL);