]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r291359,r291362:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Dec 2015 09:25:13 +0000 (09:25 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Dec 2015 09:25:13 +0000 (09:25 +0000)
commit123f948a6ec3f391b1711dd9f52587cff90f0c56
tree41b0ad69500ea8f1ff8e75b568638f244905461c
parent083a4ad9e8809bb555a86b9c732bfe2f53f827e8
MFC r291359,r291362:

r291359:

Skip over lines that start with # (comments)

r291362:

r291359 was incorrect. Skip over tokens that start with `#' as fgetln can
return more than one '\n' delimited line in a buffer

Handle empty lines too, just in case

git-svn-id: svn://svn.freebsd.org/base/stable/10@291761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/lib/libc/resolv/resolv.c