diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 06:15:51 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 06:15:51 +0000 |
commit | 09acf843b10ef855ad8b11788bb62069ad87e4bb (patch) | |
tree | 7434c2b363749f44cd51b33a6a92e917585fef68 /usr.bin/cvs | |
parent | 5d66c720aa8626f511e8cdc57a2af27dece2938a (diff) |
use RCS_STATE_DEAD instead of plain old 'dead' when checking
the RCS file its state.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <joris@openbsd.org> * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> @@ -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; } |