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:
parent
542df97fc9
commit
627459b3d8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user