Subject: cap_mkdb creating empty db
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 04/12/2005 22:36:07
Hello,
on a current i386 system, cap_mkdb creates an empty db if no output
filename (-f option) is specified (or if it's equal to the first input
filename):
$ cp /usr/share/misc/termcap .
$ cap_mkdb -v termcap
cap_mkdb: 0 capability records
$ rm termcap.db
$ cap_mkdb -v -f out termcap
[...]
cap_mkdb: 1032 capability records
The same commands on a netbsd-2 system:
$ cp /usr/share/misc/termcap .
$ cap_mkdb -v termcap
[...]
cap_mkdb: 1032 capability records
$ rm termcap.db
$ cap_mkdb -v -f out termcap
[...]
cap_mkdb: 1032 capability records
Is this a bug, or am I missing something?
TIA, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~