summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-05-14 22:33:52 +0000
committerache <ache@FreeBSD.org>1995-05-14 22:33:52 +0000
commitd015557a828b59d4dc38f3c77cf86396d9dd6288 (patch)
tree23c1826bb8c6ba075e05288c316a1d06439f729d /lib
parent471b2e6d7bbd86f2095a5ff7e55d80a60a39093c (diff)
downloadFreeBSD-src-d015557a828b59d4dc38f3c77cf86396d9dd6288.zip
FreeBSD-src-d015557a828b59d4dc38f3c77cf86396d9dd6288.tar.gz
Parse ^? correctly now
Diffstat (limited to 'lib')
-rw-r--r--lib/libmytinfo/gettcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libmytinfo/gettcap.c b/lib/libmytinfo/gettcap.c
index c3acf08..ac900c2 100644
--- a/lib/libmytinfo/gettcap.c
+++ b/lib/libmytinfo/gettcap.c
@@ -174,6 +174,9 @@ struct term_path *path; {
*dp++ = '0';
}
sp++;
+ } else if (*sp == '?') {
+ *dp++ = '\177';
+ sp++;
} else
*dp++ = '^';
break;
OpenPOWER on IntegriCloud