Our awk does not implement the ARGIND variable, so we were attempting

to parse the binary .kld file as a list of symbols. Fix this by
simply deleting the unwanted argument from the ARGV[] array instead
of trying to skip over it.
This commit is contained in:
Ian Dowse 2002-08-06 19:31:04 +00:00
parent b46f1c55f9
commit ab6fc18e52
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101438

View file

@ -7,12 +7,11 @@ BEGIN {
syms[$3] = $2
}
}
delete ARGV[1]
}
# De-list symbols from the export list.
{
if (ARGIND == 1)
nextfile
delete syms[$0]
}