diff options
author | clive <clive@FreeBSD.org> | 2000-12-07 16:37:52 +0000 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2000-12-07 16:37:52 +0000 |
commit | 0ee930cf95fd2a1f350ccb4d72c21cc4fe7322c4 (patch) | |
tree | 4cdfc01b15e0d844c6ad23798d9fd83bad81ee6b /chinese | |
parent | 0502fffa17ad3e909d3bde496034d38351ac5e2b (diff) | |
download | FreeBSD-ports-0ee930cf95fd2a1f350ccb4d72c21cc4fe7322c4.zip FreeBSD-ports-0ee930cf95fd2a1f350ccb4d72c21cc4fe7322c4.tar.gz |
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
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/tin/Makefile | 3 | ||||
-rw-r--r-- | chinese/tin/files/patch-misc.c | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/chinese/tin/Makefile b/chinese/tin/Makefile index 1437844..f8253e8 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 0000000..748a386 --- /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); |