diff options
Diffstat (limited to 'usr.bin/cvs/rcsnum.c')
-rw-r--r-- | usr.bin/cvs/rcsnum.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcsnum.c b/usr.bin/cvs/rcsnum.c index e529702773c..3c1d0998f87 100644 --- a/usr.bin/cvs/rcsnum.c +++ b/usr.bin/cvs/rcsnum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsnum.c,v 1.15 2005/08/02 11:48:56 joris Exp $ */ +/* $OpenBSD: rcsnum.c,v 1.16 2005/09/19 15:45:16 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -274,8 +274,12 @@ rcsnum_aton(const char *str, char **ep, RCSNUM *nump) * completely insane and not understandable reason in that output. * */ +#if !defined(RCSPROG) if ((nump->rn_len > 2) && (nump->rn_id[nump->rn_len - 1] == 0) && (cvs_cmdop != CVS_OP_LOG)) { +#else + if ((nump->rn_len > 2) && (nump->rn_id[nump->rn_len - 1] == 0)) { +#endif /* * Look for ".0.x" at the end of the branch number. */ |