From 4dc21f45b7b37ebe7001231756c2807366b8920e Mon Sep 17 00:00:00 2001 From: joris Date: Sat, 13 Jan 2007 15:45:59 +0000 Subject: remove BUF * argument from cvs_checkout_file() it will no longer be used, ever. --- usr.bin/cvs/commit.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'usr.bin/cvs/commit.c') diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index 9281b878826..205dfbc452a 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.94 2007/01/12 23:32:01 niallo Exp $ */ +/* $OpenBSD: commit.c,v 1.95 2007/01/13 15:45:59 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2006 Xavier Santolaria @@ -344,11 +344,7 @@ cvs_commit_local(struct cvs_file *cf) cf->fd = -1; if (cf->file_status != FILE_REMOVED) { - b = rcs_getrev(cf->file_rcs, cf->file_rcs->rf_head); - if (b == NULL) - fatal("cvs_commit_local: failed to get HEAD"); - - cvs_checkout_file(cf, cf->file_rcs->rf_head, b, CO_COMMIT); + cvs_checkout_file(cf, cf->file_rcs->rf_head, CO_COMMIT); } else { entlist = cvs_ent_open(cf->file_wd); cvs_ent_remove(entlist, cf->file_name); -- cgit v1.2.3-59-g8ed1b