aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-23 19:32:33 +0800
committersobomax <sobomax@FreeBSD.org>2002-05-23 19:32:33 +0800
commit5d85b8fff14f9a15e9a3c4c45249fd3b531623e7 (patch)
treea329faa7f58d9e69cbef660080a9f0a28831abf3 /russian
parent7a955977a2a6338d1fae07353a9465ebe4e9f438 (diff)
downloadfreebsd-ports-graphics-5d85b8fff14f9a15e9a3c4c45249fd3b531623e7.tar.gz
freebsd-ports-graphics-5d85b8fff14f9a15e9a3c4c45249fd3b531623e7.tar.zst
freebsd-ports-graphics-5d85b8fff14f9a15e9a3c4c45249fd3b531623e7.zip
Unbreak on bento.
PR: 38437 Submitted by: maintainer
Diffstat (limited to 'russian')
-rw-r--r--russian/messarge/files/patch-mims29
1 files changed, 29 insertions, 0 deletions
diff --git a/russian/messarge/files/patch-mims b/russian/messarge/files/patch-mims
new file mode 100644
index 00000000000..84bb2182ae9
--- /dev/null
+++ b/russian/messarge/files/patch-mims
@@ -0,0 +1,29 @@
+--- mims.c Mon May 29 03:56:00 2000
++++ mims.c Thu May 23 04:07:31 2002
+@@ -323,7 +323,7 @@
+ else putchar(p[i]);
+ } };
+
+-char * strnstr(char *bs, off_t bl, char *s)
++char * strn_str(char *bs, off_t bl, char *s)
+ { char *p = bs;
+ while ((p = memchr(p, s[0], bs + bl - p)))
+ if (strlen(s) > (bs + bl - p) || strncmp(p, s, strlen(s))) p++;
+@@ -335,7 +335,7 @@
+ { char *p;
+ off_t l;
+ p = bs;
+- while ((p = strnstr(p, bl, "\n--")))
++ while ((p = strn_str(p, bl, "\n--")))
+ { p += 3;
+ l = bs + bl - p;
+ if (!strncmp(p, ss, (l > sl) ? sl : l)) return(p - 2);
+@@ -403,7 +403,7 @@
+ unsigned charset, encapsulation;
+ enum quost q_st;
+ char *Fnam = NULL;
+- begin = strnstr(begin, len, "\n\n");
++ begin = strn_str(begin, len, "\n\n");
+ if (begin)
+ { begin += 2;
+ headlen = begin - headers;