The text a5e0b6b6bc6e, as FreeBSD 6.4-RELEASE shipped it.
linear search and append
lsearch(3) on FreeBSD now