commit | c70b9fe8823e8f21628725e634d5db1a6e3948d0 | [log] [tgz] |
---|---|---|
author | pfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f> | Fri Sep 19 18:24:02 2014 +0000 |
committer | Arnold D. Robbins <arnold@skeeve.com> | Tue Jul 16 22:19:56 2019 +0300 |
tree | a3bab7b7fe70b62dc0a979ba43e48958cc27a43e | |
parent | 650d868ec4bbb566255702fef37480438163d3ae [diff] |
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 git-svn-id: svn+ssh://svn.freebsd.org/base/head@271879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f