From 4d33f394bde440ca59c3d7dc025166a62b648857 Mon Sep 17 00:00:00 2001 From: joris Date: Fri, 12 Jan 2007 17:25:33 +0000 Subject: complete binary support for opencvs, adding/importing binary files now works too partially taken from openrcs --- usr.bin/cvs/diff3.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.bin/cvs/diff3.c') diff --git a/usr.bin/cvs/diff3.c b/usr.bin/cvs/diff3.c index 8dc97f1f011..cde14172d0e 100644 --- a/usr.bin/cvs/diff3.c +++ b/usr.bin/cvs/diff3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff3.c,v 1.30 2007/01/11 17:44:18 niallo Exp $ */ +/* $OpenBSD: diff3.c,v 1.31 2007/01/12 17:25:33 joris 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.30 2007/01/11 17:44:18 niallo Exp $"; + "$OpenBSD: diff3.c,v 1.31 2007/01/12 17:25:33 joris Exp $"; #endif /* not lint */ #include "includes.h" @@ -228,9 +228,6 @@ cvs_diff3(RCSFILE *rf, char *workfile, int workfd, RCSNUM *rev1, goto out; } - cvs_buf_putc(diffb, '\0'); - cvs_buf_putc(b1, '\0'); - plen = cvs_buf_len(diffb); patch = cvs_buf_release(diffb); dlen = cvs_buf_len(b1); -- cgit v1.2.3-59-g8ed1b