Replace rev. 1.9 with patch from OpenBSD.

Submitted by:	Ray Lai <ray@cyth.net>
Obtained from:	http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14
MFC after:	1 week
This commit is contained in:
Pav Lucistnik 2007-05-12 23:29:33 +00:00
parent ae7a150a68
commit 67a09fffe1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169514

View File

@ -100,10 +100,10 @@ con(void)
if ((acu = acutype(AT)) == NOACU)
return ("unknown ACU type");
if (*cp != '@') {
while (cp != NULL && *cp) {
while (*cp) {
phnum = cp;
cp = strpbrk(cp, ",");
if (cp != NULL && *cp != '\0')
cp += strcspn(cp, ",");
if (*cp != '\0')
*cp++ = '\0';
if (strlen(phnum) == 0)