[Bug 215422] bhnd.ko does not build reproducibly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 19 19:24:39 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215422
--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
lidl@ noted the use of srand(), used to select the qsort pivot. The output is
reproducible for me with the following diff:
diff --git a/sys/dev/bhnd/tools/nvram_map_gen.awk
b/sys/dev/bhnd/tools/nvram_map_gen.awk
index 834bd1f..74fa58f 100755
--- a/sys/dev/bhnd/tools/nvram_map_gen.awk
+++ b/sys/dev/bhnd/tools/nvram_map_gen.awk
@@ -52,9 +52,6 @@ function main(_i) {
AWK_REQ_HEX_PARSING=1
}
- # Seed rand()
- srand()
-
# Output type
OUT_T = null
OUT_T_HEADER = "HEADER"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list