CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2015/09/05 16:07:10
Modified files: usr.bin/awk : run.c Log message: When rand() was made fully random, the return value of srand() was also affected incorrectly. Noticed by Stephane Chazelas. This reverts the return value of srand() to the old (not very useful) behaviour. This also allows toggling rand() to strong/weak based upon whether srand() is called without/with an argument. Long discussion and work with millert ok beck