summaryrefslogtreecommitdiffstats
path: root/usr.bin/finger
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-08 00:45:21 +0000
committerache <ache@FreeBSD.org>1995-08-08 00:45:21 +0000
commit0e7b1c312ae8e662ba3c567b4f9ecb6525ba171f (patch)
tree18ad5a82bd8e4a662c8c15c3e569c4992ac66040 /usr.bin/finger
parent6185a84ff12d758114e0c799c93a9ffde9071c37 (diff)
downloadFreeBSD-src-0e7b1c312ae8e662ba3c567b4f9ecb6525ba171f.zip
FreeBSD-src-0e7b1c312ae8e662ba3c567b4f9ecb6525ba171f.tar.gz
Allow national printable chars in .plan
Diffstat (limited to 'usr.bin/finger')
-rw-r--r--usr.bin/finger/lprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c
index 83aa5c08..93e4a9b 100644
--- a/usr.bin/finger/lprint.c
+++ b/usr.bin/finger/lprint.c
@@ -336,7 +336,7 @@ vputc(ch)
{
int meta;
- if (!isascii(ch)) {
+ if (!isprint(ch) && !isascii(ch)) {
(void)putchar('M');
(void)putchar('-');
ch = toascii(ch);
OpenPOWER on IntegriCloud