[Bug 193147] [patch] Change rand(3) to random(3) in awk(1)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 19 18:25:00 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193147

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: pfg
Date: Fri Sep 19 18:24:03 UTC 2014
New revision: 271879
URL: http://svnweb.freebsd.org/changeset/base/271879

Log:
  awk: Use random(3) instead of rand(3)

  While none of them is considered even near to cryptographic
  level, random(3) is a better random generator than rand(3).

  Use random(3) for awk as is done in other systems.

  Thanks to Chenguang Li for discussing this in the lists
  and submitting the patch upstream.

  PR:        193147
  MFC after:    5 weeks

Changes:
  head/contrib/one-true-awk/awk.1
  head/contrib/one-true-awk/main.c
  head/contrib/one-true-awk/run.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list