Date: Thu, 23 May 2002 04:29:11 +0400 (MSD) From: .@babolo.ru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/38437: Mantainer unbreak ports/russian/messarge (bento) Message-ID: <200205230029.EAA27558@aaz.links.ru>
next in thread | raw e-mail | index | archive | help
>Number: 38437 >Category: ports >Synopsis: Name conflict in russian/messarge >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 22 17:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Aleksandr A. Babaylov >Release: FreeBSD 4.5 >Organization: home >Environment: Port build on FreeBSD 4.5 >Description: >How-To-Repeat: >Fix: Add files/patch-mims to ports/russian/messarge tree # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/patch-mims # echo x - files/patch-mims sed 's/^X//' >files/patch-mims << 'END-of-files/patch-mims' X--- mims.c Mon May 29 03:56:00 2000 X+++ mims.c Thu May 23 04:07:31 2002 X@@ -323,7 +323,7 @@ X else putchar(p[i]); X } }; X X-char * strnstr(char *bs, off_t bl, char *s) X+char * strn_str(char *bs, off_t bl, char *s) X { char *p = bs; X while ((p = memchr(p, s[0], bs + bl - p))) X if (strlen(s) > (bs + bl - p) || strncmp(p, s, strlen(s))) p++; X@@ -335,7 +335,7 @@ X { char *p; X off_t l; X p = bs; X- while ((p = strnstr(p, bl, "\n--"))) X+ while ((p = strn_str(p, bl, "\n--"))) X { p += 3; X l = bs + bl - p; X if (!strncmp(p, ss, (l > sl) ? sl : l)) return(p - 2); X@@ -403,7 +403,7 @@ X unsigned charset, encapsulation; X enum quost q_st; X char *Fnam = NULL; X- begin = strnstr(begin, len, "\n\n"); X+ begin = strn_str(begin, len, "\n\n"); X if (begin) X { begin += 2; X headlen = begin - headers; END-of-files/patch-mims exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205230029.EAA27558>