mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 09:43:47 +00:00
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:
parent
b46f1c55f9
commit
ab6fc18e52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101438
|
@ -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]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue