summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-01-16 02:52:57 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-01-16 02:52:57 +0000
commit47a712d3eb482b80ce56dfbc8f2cbae3949883b4 (patch)
tree857295c4c5b940b8a8a4e199ac33856239110556 /usr.bin/cvs
parent71ee1d8cc18c86ec434e7d430b07c1d37bb21f17 (diff)
sanitize what kind of symbols we can have in symbol names,
tested & found brad@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index 09eb60cd646..ed1b118e67a 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.200 2007/01/14 23:10:56 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.201 2007/01/16 02:52:56 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -2311,7 +2311,7 @@ rcs_gettok(RCSFILE *rfp)
type = RCS_TOK_EOF;
break;
} else if (!isalnum(ch) && ch != '_' && ch != '-' &&
- ch != '/') {
+ ch != '/' && ch != '+') {
ungetc(ch, pdp->rp_file);
break;
}