diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-03-05 05:00:57 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-03-05 05:00:57 +0000 |
commit | 65924a4a9924d4811377c6a254a14823d842ff54 (patch) | |
tree | 99e3d686806e728aa7e2bb8a4209f7ace964be77 /usr.bin | |
parent | 3d77c62b895d9645ed4227a96831d4911ac2d538 (diff) |
unbreak the RCS_KWEXP_INVAL() macro
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/rcs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index 08430b8fe66..ecc9b382a6b 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.12 2005/03/05 03:30:29 jfb Exp $ */ +/* $OpenBSD: rcs.h,v 1.13 2005/03/05 05:00:56 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -60,7 +60,8 @@ #define RCS_KWEXP_KVL (RCS_KWEXP_NAME | RCS_KWEXP_VAL | RCS_KWEXP_LKR) #define RCS_KWEXP_INVAL(k) \ - ((k & RCS_KWEXP_ERR) || ((k & RCS_KWEXP_OLD) != RCS_KWEXP_OLD)) + ((k & RCS_KWEXP_ERR) || \ + ((k & RCS_KWEXP_OLD) && (RCS_KWEXP_OLD & ~RCS_KWEXP_OLD))) |