christos
9009c648c6
need <sys/stat.h>
2017-01-10 21:04:06 +00:00
christos
0ff5eeabb1
add notreached comment
2014-06-21 17:48:07 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
christos
b2af84a88a
bump PROTOMAX
2010-10-07 01:28:50 +00:00
wiz
e35956774d
Sort option descriptions.
2010-05-05 22:11:19 +00:00
wiz
430d51d315
Accept -v in getopt(); sort flag cases.
2010-05-05 22:10:50 +00:00
joerg
aa73978631
Add verbose flag -v and make -q the default behavior.
2010-05-05 13:19:51 +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
wiz
6937bb0cf0
Sort option descriptions.
2009-05-13 22:36:39 +00:00
lukem
d877c4c3c0
Enable WARNS=4 by default, except for:
...
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
uebayasi
a6533b8fed
Comment out CFLAGS+=-g.
2009-02-13 16:02:05 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
dholland
dbb1ba5a88
Always clear the output string buffer in mkaliases(), to avoid reusing
...
old aliases from an earlier line if there were none here and thus
emitting a lot of crap into the database. PR lib/37711.
2008-03-09 01:29:34 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
christos
36619a204c
Fix white space compression from Jukka Salmi
2007-06-24 19:51:43 +00:00
christos
335dde11a5
fix usage check.
2007-06-23 17:02:03 +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
seb
d4373f6dcf
Update pathnames to the services and netgroups databases after their move
...
to /var/db.
Pooka@ made me do it.
2007-05-20 14:02:10 +00:00
christos
b13d830ce7
Change the way we parse so that the two lines"
...
foo 11/tcp
bar 11/tcp
are equivalent to:
foo 11/tcp bar
This way we can use the IANA services file properly *and* be able to augment
it with our entries without needing to intersperse our fixes.
2007-05-15 19:57:40 +00:00
christos
3409f393b9
specify the initial hash parameters so that we don't end up rehashing a
...
zillion times. Makes this run 50x faster.
2007-05-13 17:43:59 +00:00
christos
aa08bd4677
add one more missing warn.
2007-05-08 20:17:57 +00:00
christos
deb490e687
Add quiet mode.
2007-05-08 20:14:59 +00:00
wiz
66be93d7db
Sort sections. Punctuation nits.
2006-07-30 00:24:40 +00:00
christos
b00752709e
more cleanups.
2006-07-28 16:34:28 +00:00
christos
ee343feee7
use indirect lookup to save space.
2006-07-28 15:15:16 +00:00
christos
69ee26299b
Put this back, heavily hacked by me.
2006-07-27 22:13:38 +00:00
lukem
4ee8c8fdad
it's unlikely that 1.4 will ship with support for db backends for
...
services, and if it does, the work this was going to do could be done
with awk | makedbm ...
1999-02-12 04:24:49 +00:00
lukem
cb2392ad04
services_mkdb; generate db file from services(5) to increase speed of getserv*()
1999-02-08 03:57:04 +00:00