mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 13:01:10 +01:00
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)
|
||||
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