Fix a core dump in NMH's "sortm" command.

PR:		63497
Approved by:	Scott Blachowicz <scott@sabami.seaslug.org> [MAINTAINER]
This commit is contained in:
Joseph Koshy 2004-04-17 02:23:50 +00:00
parent c3e647832c
commit 4b7d3030b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107305
2 changed files with 12 additions and 1 deletions

View file

@ -53,7 +53,7 @@
PORTNAME= nmh PORTNAME= nmh
PORTVERSION= 1.0.4 PORTVERSION= 1.0.4
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \ MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \
${MASTER_SITE_LOCAL} ${MASTER_SITE_LOCAL}

11
mail/nmh/files/patch-ad Normal file
View file

@ -0,0 +1,11 @@
--- uip/sortm.c-- Thu Mar 18 00:12:19 2004
+++ uip/sortm.c Thu Mar 18 00:26:50 2004
@@ -439,8 +439,6 @@
if(uprf(cp, "re:"))
cp += 2;
else {
- if (isalnum(c))
- *cp2++ = isupper(c) ? tolower(c) : c;
break;
}
}