Commit Graph

7 Commits

Author SHA1 Message Date
christos 5eb26e7317 Avoid memory leak on empty lines (https://reviews.freebsd.org/D29370) 2021-03-22 03:28:55 +00:00
christos 0ff5eeabb1 add notreached comment 2014-06-21 17:48:07 +00:00
joerg b9cf7d31ab Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
2010-04-25 00:54:44 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
christos 36619a204c Fix white space compression from Jukka Salmi 2007-06-24 19:51:43 +00:00
christos 65c07d0bce fix a comment and use efopen 2007-06-23 16:56:56 +00:00
christos 4f52df9a5e Add a uniq option to delete duplicate entries from the services file. 2007-06-23 16:55:15 +00:00