From 0ee930cf95fd2a1f350ccb4d72c21cc4fe7322c4 Mon Sep 17 00:00:00 2001 From: clive Date: Thu, 7 Dec 2000 16:37:52 +0000 Subject: Don't do isprint(3) filtering, just print it. Before isprint(3) get fixed or any one knows how to use isprint(3) to identify multibytes characters, this temporary fix would remain here. PR: 23196 Reviewed by: People on tw.bbs.comp.386bsd newsgroup --- chinese/tin/Makefile | 3 ++- chinese/tin/files/patch-misc.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 chinese/tin/files/patch-misc.c (limited to 'chinese/tin') diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile index 14378448097f..f8253e8e7072 100644 --- a/chinese/tin/Makefile +++ b/chinese/tin/Makefile @@ -12,7 +12,8 @@ MAINTAINER= yssu@CCCA.NCTU.edu.tw EXTRA_PATCHES= ${.CURDIR}/files/patch-charset.c \ ${.CURDIR}/files/patch-cook.c \ - ${.CURDIR}/files/patch-init.c + ${.CURDIR}/files/patch-init.c \ + ${.CURDIR}/files/patch-misc.c .include "${MASTERDIR}/Makefile" diff --git a/chinese/tin/files/patch-misc.c b/chinese/tin/files/patch-misc.c new file mode 100644 index 000000000000..748a3861fe06 --- /dev/null +++ b/chinese/tin/files/patch-misc.c @@ -0,0 +1,10 @@ +--- src/misc.c~ Thu Aug 3 21:49:22 2000 ++++ src/misc.c Wed Nov 29 08:03:36 2000 +@@ -1169,6 +1169,7 @@ + my_isprint ( + int c) + { ++ return 1; + #ifndef NO_LOCALE + /* use locale */ + return isprint(c); -- cgit