From owner-svn-src-stable-10@FreeBSD.ORG Sat Oct 11 09:04:03 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA7A24F7 for ; Sat, 11 Oct 2014 09:04:03 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FE30BF0 for ; Sat, 11 Oct 2014 09:04:02 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s9B93oQT006899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 11 Oct 2014 10:03:51 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s9B93oQT006899 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1413018231; bh=njwIT+41hBFIk/jozlats5a0C9mRoTT4ErJ0nxL+o7E=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2011=20Oct=202014=2010:03:41=20+0100|From:=20Matthew =20Seaman=20|To:=20svn-src-stable -10@freebsd.org|Subject:=20Re:=20svn=20commit:=20r272918=20-=20sta ble/10/contrib/one-true-awk|References:=20<201410102318.s9ANIjps06 3160@svn.freebsd.org>=20<20141011064308.GN19486@ivaldir.etoilebsd. net>|In-Reply-To:=20<20141011064308.GN19486@ivaldir.etoilebsd.net> ; b=wfATZGmeca9K3//MSWQCH3VtcqCKTkC5GhooLZ2b5tx7T0gGIFSFWChIAngQFiRql 96FnV2ILSIve99RFC6MbcApCL0o5c1VNfzrHdWT5cSWbStVZwW+OguURTAohBM62ax J2ChudQ6UC8zK8dfxkNlnNJ/IUlN4XhXzo0eYE0g= Message-ID: <5438F26D.3000508@infracaninophile.co.uk> Date: Sat, 11 Oct 2014 10:03:41 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: svn-src-stable-10@freebsd.org Subject: Re: svn commit: r272918 - stable/10/contrib/one-true-awk References: <201410102318.s9ANIjps063160@svn.freebsd.org> <20141011064308.GN19486@ivaldir.etoilebsd.net> In-Reply-To: <20141011064308.GN19486@ivaldir.etoilebsd.net> OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5qbEiKHiJUpEoQ9Eo8j2pNR4r9PqDVSWf" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2014 09:04:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5qbEiKHiJUpEoQ9Eo8j2pNR4r9PqDVSWf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11/10/2014 07:43, Baptiste Daroussin wrote: > 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) >> =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 >> >> 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 >> =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 (r27= 2917) >> +++ stable/10/contrib/one-true-awk/awk.1 Fri Oct 10 23:18:44 2014 (r27= 2918) >> @@ -208,7 +208,7 @@ or of >> if no argument. >> .TP >> .B rand >> -random number on (0,1) >> +random number on [0,1) > --------------------^ >=20 > The above looks like a typo It's math-speak for a range of numbers which spans from exactly zero to arbitrarily close to (but not exactly) one[*]. Probably a bit too specialised to be used without explanation in a man page like this. Cheers, Matthew [*] Or is it the other way round? I can never remember. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --5qbEiKHiJUpEoQ9Eo8j2pNR4r9PqDVSWf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUOPJ1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATt2AP+wQBQrnPZXO65NWaafhumZg9 OIV2Mx8F5qmpHbZgGqn5vX8tSDjQRmBst0zDxZMGiK3nSr8GYISSHTufu/IPk+fq BMXRii15M7o9TgYBA2si3FBH+S7uu0UBEKO2qNhAtU4Qu72dYK3qugk8Tk6hKkzE Z7emt9WkRE/2t2Yd8EZhHpJJw3NGA+BGjQW4QiOtvOUY6fCsj1hspNvrxrMo+Ay6 iIituJDkYD9ZSq7+PuSi1bA+P3DNS6p0x2Mse8xWBlKemQyIStnueB6E215HI2+a +At8s2+bim7f0u2ly5lDUo54pIvu13ma241P5j0wIxT+70xv1AM/6kDtFgtuBu6l KnU1qaQdvb5zoX0VFA7ecZFYxi+r1pLzicA5Le5VhZIxqlvQEzHGXW1SzzbR/leA OfYIhS/yRQMNYLly5zvGCUxgcXaKMpXGAERAFp7vnpYCnXXtAvzd3in0RGFWO8QE nq6B6JYAHx8FIi/XGpkBfuzvaj3zFcHhDu/4mD9wwXcm78wURknPa8Z38FepHG1U bpJI8nC0npd/JiPjFXi2zPDl7hX2kzuBJT7iN9wvpOszDH9LeLngguGZK1kH7piz s1RMNU37AjRegZ+tA9lVkzALufXrfjDRVHPmLKPCN444/LElmKqVyQXeibfasHbc x3aNOPCZovffZPnmPab4 =Y04b -----END PGP SIGNATURE----- --5qbEiKHiJUpEoQ9Eo8j2pNR4r9PqDVSWf--