]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299654:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 May 2016 05:11:31 +0000 (05:11 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 May 2016 05:11:31 +0000 (05:11 +0000)
commit83a413c963c67dede5bad502852c79d1cf001737
treee0548f9b8be15c753c4e3d6e80d54e6a2d854752
parent002be3fb9c598bf3eb21585ff69280f76849fc50
MFC r299654:

Read the contents of the snapshot files properly

- Use fgetln instead of fgets; localize complexity related to fgetln(3)
  inside the loop.
- Skip over blank lines.
- Skip over lines (properly) that start with a "#"

git-svn-id: svn://svn.freebsd.org/base/stable/10@300454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/tests/nss/testutil.h