svn commit: r272918 - stable/10/contrib/one-true-awk
Baptiste Daroussin
bapt at FreeBSD.org
Sat Oct 11 06:43:14 UTC 2014
On Fri, Oct 10, 2014 at 11:18:45PM +0000, Pedro F. Giffuni wrote:
> Author: pfg
> Date: Fri Oct 10 23:18:44 2014
> New Revision: 272918
> URL: https://svnweb.freebsd.org/changeset/base/272918
>
> Log:
> MFC r271879:
> 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.
>
> PR: 193147
>
> Modified:
> stable/10/contrib/one-true-awk/awk.1
> stable/10/contrib/one-true-awk/main.c
> stable/10/contrib/one-true-awk/run.c
> Directory Properties:
> stable/10/ (props changed)
>
> Modified: stable/10/contrib/one-true-awk/awk.1
> ==============================================================================
> --- stable/10/contrib/one-true-awk/awk.1 Fri Oct 10 22:18:09 2014 (r272917)
> +++ stable/10/contrib/one-true-awk/awk.1 Fri Oct 10 23:18:44 2014 (r272918)
> @@ -208,7 +208,7 @@ or of
> if no argument.
> .TP
> .B rand
> -random number on (0,1)
> +random number on [0,1)
--------------------^
The above looks like a typo
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-stable/attachments/20141011/06b29fbf/attachment.sig>
More information about the svn-src-stable
mailing list