diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-04-20 23:11:31 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-04-20 23:11:31 +0000 |
commit | b2256b26aef1dd6922a1ba3d5d97f73e9725aae5 (patch) | |
tree | a0cb6bbacdafd8dd1d1f2903559449c2de4b5c71 /usr.bin/cvs/rcs.c | |
parent | 572d3058c355bfe59cc3664582319393ca50e9c3 (diff) |
check the validity of tag names passed to the tag command, and print
an abort message if the tag is invalid. also, match gnu cvs behaviour
with regards to command usage output on usage errors.
ok joris
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 77d8b51c8a3..b9f763f787a 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.48 2005/04/19 19:30:18 jfb Exp $ */ +/* $OpenBSD: rcs.c,v 1.49 2005/04/20 23:11:30 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -113,7 +113,7 @@ struct rcs_foo { /* invalid characters in RCS symbol names */ -static const char rcs_sym_invch[] = "$,.:;@"; +static const char rcs_sym_invch[] = RCS_SYM_INVALCHAR; #ifdef notyet static struct rcs_kfl { |