]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r243346,r291761:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Dec 2015 09:27:56 +0000 (09:27 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 4 Dec 2015 09:27:56 +0000 (09:27 +0000)
commitcf9c287cc76d84d64e7e1295a9f27ee52cedfac4
treeb3669b3dc4d7f42553dc2fad0a1250630bfa93f3
parent5e4d8f5f8195363959b59d125786f4ce1ee5ef9f
MFstable/10 r243346,r291761:

r243346 (by emaste):

Non-void function should return a value.

Found by: clang

r291761:

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/9@291762 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/lib/libc/resolv/resolv.c