Add patch

This commit is contained in:
Kris Kennaway 2001-01-14 08:02:36 +00:00
parent b162a76f32
commit 1804397a63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37178
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- mime.c.orig Fri Dec 29 14:32:43 2000
+++ mime.c Fri Dec 29 14:32:57 2000
@@ -150,7 +150,7 @@
if ((wl = mbstowcs(w, t, LINESIZE)) == -1)
return;
for (p = w, i = 0; *p && i < wl; p++, i++) {
- if (!iswprint(*p) && *p != '\n' && *p != '\r'
+ if (!isprint(*p) && *p != '\n' && *p != '\r'
&& *p != '\b' && *p != '\t')
*p = '?';
}

11
mail/nail/files/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- mime.c.orig Fri Dec 29 14:32:43 2000
+++ mime.c Fri Dec 29 14:32:57 2000
@@ -150,7 +150,7 @@
if ((wl = mbstowcs(w, t, LINESIZE)) == -1)
return;
for (p = w, i = 0; *p && i < wl; p++, i++) {
- if (!iswprint(*p) && *p != '\n' && *p != '\r'
+ if (!isprint(*p) && *p != '\n' && *p != '\r'
&& *p != '\b' && *p != '\t')
*p = '?';
}