Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 18:25:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193147] [patch] Change rand(3) to random(3) in awk(1)
Message-ID:  <bug-193147-8-f8b67VZ3cB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193147-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193147-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193147

--- Comment #3 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193147-8-f8b67VZ3cB>