Add patch
This commit is contained in:
parent
b162a76f32
commit
1804397a63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37178
11
mail/heirloom-mailx/files/patch-aa
Normal file
11
mail/heirloom-mailx/files/patch-aa
Normal 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
11
mail/nail/files/patch-aa
Normal 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 = '?';
|
||||
}
|
Loading…
Reference in New Issue
Block a user