From 09acf843b10ef855ad8b11788bb62069ad87e4bb Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sat, 27 May 2006 06:15:51 +0000 Subject: use RCS_STATE_DEAD instead of plain old 'dead' when checking the RCS file its state. --- usr.bin/cvs/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs') diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index 1f46f3b21d1..feec3546bbb 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.138 2006/05/27 03:30:30 joris Exp $ */ +/* $OpenBSD: file.c,v 1.139 2006/05/27 06:15:50 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau @@ -598,7 +598,7 @@ cvs_file_classify(struct cvs_file *cf) if (state == NULL) fatal("failed to get state for HEAD for %s", cf->file_path); - if (!strcmp(state, "dead")) + if (!strcmp(state, RCS_STATE_DEAD)) rcsdead = 1; } -- cgit v1.2.3