bhnd: remove srand() to ensure deterministic output
r310342 fixed non-deterministic nvram_map_gen.awk output and thus a non- reproducible bhnd(4) build by using a unique sort key. Go one step further and also remove the srand() call. There's no reason we want non-deterministic behaviour from this script. PR: 215422 Reported by: gjb (non-reproducibility of bhnd) Reported by: lidl (srand as the cause) Reviewed by: landonf Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8857
This commit is contained in:
parent
8ad81aaea6
commit
d941a03b66
@ -52,9 +52,6 @@ function main(_i) {
|
||||
AWK_REQ_HEX_PARSING=1
|
||||
}
|
||||
|
||||
# Seed rand()
|
||||
srand()
|
||||
|
||||
# Output type
|
||||
OUT_T = null
|
||||
OUT_T_HEADER = "HEADER"
|
||||
|
Loading…
Reference in New Issue
Block a user