diff options
author | 2006-05-27 06:15:50 +0000 | |
---|---|---|
committer | 2006-05-27 06:15:50 +0000 | |
commit | 0c09b735f4245da4adb18e63919cfcbac2a76d0e (patch) | |
tree | b98efe11a3b2155b9463239d782be127a56ec392 | |
parent | correctly expand keywords when checking out files (diff) | |
download | wireguard-openbsd-0c09b735f4245da4adb18e63919cfcbac2a76d0e.tar.xz wireguard-openbsd-0c09b735f4245da4adb18e63919cfcbac2a76d0e.zip |
use RCS_STATE_DEAD instead of plain old 'dead' when checking
the RCS file its state.
-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; } |