freebsd-nq/usr.bin
Stefan Eßer 2919c53c63 Remove O_SYNC from the options passed to dbmopen().
The output file is created as a temporary file that is moved over the
existing file after completion. Thus there is no need to immediately
flush all created db records to the temporary file.

This speeds up creation of the termcap db by a factor of 40 on my
ZFS based /etc filesytem (from 25 seconds to 0.6 seconds).

I have compared multiple output files created with and without O_SYNC
and they came out identical each time.  Nonetheless it might be best
to MFC this change and the similar one for services_mkdb (r295465) at
the same time when the changes to hash.c in review D5186 are merged.

MFC:	 1 week
2016-02-19 08:42:13 +00:00
..
addr2line
alias
apply
ar
asa
at
atm
awk
banner
basename
bc
biff
bluetooth
bmake Test directories can build in parallel fine. 2016-02-16 02:13:59 +00:00
brandelf
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar Add myself as ports committer (including calendar) 2016-02-16 10:33:45 +00:00
cap_mkdb Remove O_SYNC from the options passed to dbmopen(). 2016-02-19 08:42:13 +00:00
catman
chat
checknr
chkey
chpass
cksum
clang DIRDEPS_BUILD: Add dependencies somehow missed in r295681. 2016-02-19 00:41:38 +00:00
cmp
col
colcrt
colldef
colrm
column
comm
compile_et
compress
cpio
cpuset
csplit
ctags
ctlstat
cut
cxxfilt
dc
dirname
dpv
drill
dtc
du
ee
elf2aout
elfcopy DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
elfdump
enigma
env
expand
factor
false
fetch
file
file2c
find
finger
fmt
fold
fortune
from
fstat
fsync
ftp
gcore
gencat
getconf
getent
getopt
gprof
grdc
grep
gzip
head
hesinfo
hexdump Fix a bug that caused nothing to be skipped when skipping exactly the 2016-02-14 14:23:56 +00:00
host
iconv
id
ident
indent
ipcrm
ipcs
iscsictl
join
jot
kdump DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
keylogin
keylogout
killall
ktrace
ktrdump
lam
last
lastcomm
ldd
leave
less
lessecho
lesskey
lex
limits
locale
localedef
locate
lock
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4
mail Fix naive use of ftell(3). 2016-02-16 21:39:19 +00:00
makewhatis Fix installation of makewhatis.local(1) since r283777. 2016-02-18 00:26:21 +00:00
man
mandoc
mesg
minigzip
ministat
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mklocale
mkstr
mktemp
mkulzma
mkuzip
morse
msgs
mt
nc
ncal
netstat
newgrp
newkey
nfsstat
nice
nl
nm
nohup
numactl
number
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
pr
primes
printenv
printf
procstat
protect
quota
random
rctl
readelf
renice
rev
revoke
rlogin
rpcgen
rpcinfo
rs
rsh
rup
ruptime
rusers
rwall
rwho
script
sed
send-pr
seq
setchannel
shar
showmount
size
smbutil
sockstat
soelim
sort
split
ssh-copy-id
stat
stdbuf
strings
su
svn
systat
tabs
tail
talk
tar
tcopy
tee
telnet
tests
tftp
time
timeout
tip
top
touch
tput
tr
true
truncate
truss Remove an unused variable that snuck into the previous revision. 2016-02-16 22:13:25 +00:00
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write
xargs
xinstall
xlint
xo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64