summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/release.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-22 16:27:30 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-22 16:27:30 +0000
commitc42f88311255a9164d43bb105e4b64f906c5dfd3 (patch)
treecffa8e7827f203b766092b77ab25702eee9a8c0b /usr.bin/cvs/release.c
parent9350b78deaab34094bda1ca9586d15b14f26325b (diff)
use the cf_name field of the CVSFILE struct instead of using the old
CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@
Diffstat (limited to 'usr.bin/cvs/release.c')
-rw-r--r--usr.bin/cvs/release.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/release.c b/usr.bin/cvs/release.c
index f28f1355902..9bc8ee0eb10 100644
--- a/usr.bin/cvs/release.c
+++ b/usr.bin/cvs/release.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: release.c,v 1.15 2005/07/22 15:34:05 xsa Exp $ */
+/* $OpenBSD: release.c,v 1.16 2005/07/22 16:27:29 joris Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
* All rights reserved.
@@ -156,7 +156,7 @@ cvs_release_dir(CVSFILE *cf, void *arg)
return (CVS_EX_DATA);
if (cf->cf_type == DT_DIR) {
- if (!strcmp(CVS_FILE_NAME(cf), "."))
+ if (!strcmp(cf->cf_name, "."))
return (0);
else {
/* test if dir has CVS/ directory */