summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_atoi.c
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-10-23 13:47:19 +0000
committerloos <loos@FreeBSD.org>2014-10-23 13:47:19 +0000
commit85f9a84b9481f2d78800f7d04d5d5f381a2cda13 (patch)
tree8eaa643505c83215ad00cc3694a9a39969d4043e /contrib/netbsd-tests/lib/libc/stdlib/t_atoi.c
parent525706da8781a6b6adae75c89cb21fff56447cfe (diff)
downloadFreeBSD-src-85f9a84b9481f2d78800f7d04d5d5f381a2cda13.zip
FreeBSD-src-85f9a84b9481f2d78800f7d04d5d5f381a2cda13.tar.gz
Fix a bug where some DTS layouts could cause the premature ending of the
search (i.e. without returning any result) and you would end up with a random MAC address. Change the search algorithm to a recursive one to ensure that all the nodes on DTS will be verified. The previous algorithm could not keep up if the DTS has too many sub-nodes. While here, fix the punctuation on comments.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_atoi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud