Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 08:43:08 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        "Pedro F. Giffuni" <pfg@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r272918 - stable/10/contrib/one-true-awk
Message-ID:  <20141011064308.GN19486@ivaldir.etoilebsd.net>
In-Reply-To: <201410102318.s9ANIjps063160@svn.freebsd.org>
References:  <201410102318.s9ANIjps063160@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--aIbcA3MSwnGacr4f
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   MFC	r271879:
>   awk: Use random(3) instead of rand(3)
>  =20
>   While none of them is considered even near to cryptographic
>   level, random(3) is a better random generator than rand(3).
>  =20
>   Use random(3) for awk as is done in other systems.
>  =20
>   PR:		193147
>=20
> 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)
>=20
> Modified: stable/10/contrib/one-true-awk/awk.1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- stable/10/contrib/one-true-awk/awk.1	Fri Oct 10 22:18:09 2014	(r27291=
7)
> +++ stable/10/contrib/one-true-awk/awk.1	Fri Oct 10 23:18:44 2014	(r27291=
8)
> @@ -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

--aIbcA3MSwnGacr4f
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlQ40XwACgkQ8kTtMUmk6EzU0ACeM7jn8aMjuAHkfyZxn0p29m43
wH0An0Ee6w/zLDl8+53W+QChaJ0N9szl
=VpaP
-----END PGP SIGNATURE-----

--aIbcA3MSwnGacr4f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141011064308.GN19486>