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
ae7a150a68
commit
67a09fffe1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169514
@ -100,10 +100,10 @@ con(void)
|
|||||||
if ((acu = acutype(AT)) == NOACU)
|
if ((acu = acutype(AT)) == NOACU)
|
||||||
return ("unknown ACU type");
|
return ("unknown ACU type");
|
||||||
if (*cp != '@') {
|
if (*cp != '@') {
|
||||||
while (cp != NULL && *cp) {
|
while (*cp) {
|
||||||
phnum = cp;
|
phnum = cp;
|
||||||
cp = strpbrk(cp, ",");
|
cp += strcspn(cp, ",");
|
||||||
if (cp != NULL && *cp != '\0')
|
if (*cp != '\0')
|
||||||
*cp++ = '\0';
|
*cp++ = '\0';
|
||||||
|
|
||||||
if (strlen(phnum) == 0)
|
if (strlen(phnum) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user