From c638a04b1f53508577d23f739f44020db636f660 Mon Sep 17 00:00:00 2001 From: joris Date: Wed, 11 Jun 2008 20:55:34 +0000 Subject: do not count on files that are uptodate to be on disk in a remote setup. --- usr.bin/cvs/diff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/cvs/diff.c') diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index 3bae718ce0d..5e13804c322 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.139 2008/06/11 02:19:13 tobias Exp $ */ +/* $OpenBSD: diff.c,v 1.140 2008/06/11 20:55:34 joris Exp $ */ /* * Copyright (c) 2008 Tobias Stoeckmann * Copyright (c) 2006 Joris Vink @@ -296,12 +296,12 @@ cvs_diff_local(struct cvs_file *cf) } break; default: - if (cf->fd == -1) { - if (!cvs_server_active) - cvs_log(LP_ERR, "cannot find %s", + if (cvs_server_active != 1 && cf->fd == -1) { + cvs_log(LP_ERR, "cannot find %s", cf->file_path); return; } + if (cf->file_rcs == NULL) { cvs_log(LP_ERR, "cannot find RCS file for %s", cf->file_path); -- cgit v1.2.3-59-g8ed1b