-/* $OpenBSD: ci.c,v 1.205 2009/02/25 23:16:20 ray Exp $ */
+/* $OpenBSD: ci.c,v 1.206 2010/07/22 17:49:18 millert Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
{
char *path1, *path2;
BUF *b1, *b2, *b3;
- char rbuf[RCS_REV_BUFSZ];
b1 = b2 = b3 = NULL;
path1 = path2 = NULL;
- rcsnum_tostr(pb->frev, rbuf, sizeof(rbuf));
if ((b1 = rcs_buf_load(pb->filename, BUF_AUTOEXT)) == NULL) {
warnx("failed to load file: `%s'", pb->filename);
warnx("failed to load revision");
goto out;
}
+ b2 = rcs_kwexp_buf(b2, pb->file, pb->frev);
if ((b3 = rcs_buf_alloc(128, BUF_AUTOEXT)) == NULL) {
warnx("failed to allocated buffer for diff");