summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-06-10 16:05:05 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-06-10 16:05:05 +0000
commit5ccc63500a0e5d6223e205ca6acaaa738a7bf319 (patch)
tree4b9f7b3cfebdd2ec45b87f665d155c2651a32e8c /usr.bin/cvs/rcs.c
parent412e7d053d3645c18423f1c04f662d2bd9437d97 (diff)
more characters are allowed in the symbol lists, found by tobias@
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-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 92ca5fdff62..024dba9e019 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.267 2008/06/10 05:01:36 tobias Exp $ */
+/* $OpenBSD: rcs.c,v 1.268 2008/06/10 16:05:04 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -2282,7 +2282,7 @@ rcs_gettok(RCSFILE *rfp)
type = RCS_TOK_EOF;
break;
} else if (!isalnum(ch) && ch != '_' && ch != '-' &&
- ch != '/' && ch != '+') {
+ ch != '/' && ch != '+' && ch != '|') {
ungetc(ch, pdp->rp_file);
break;
}