git: fortune(6): Use arc4random_uniform(3).

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Sep 1 08:23:31 PDT 2016


commit a2cdfb90273ff84696f4103580173cce21c12e2b
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Sep 1 10:38:29 2016 +0300

    fortune(6): Use arc4random_uniform(3).
    
    Also don't use rindex().

Summary of changes:
 games/fortune/fortune/fortune.c | 19 +++++++++----------
 games/fortune/strfile/strfile.c |  6 ++----
 games/fortune/unstr/unstr.c     | 12 +++++++++---
 3 files changed, 20 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a2cdfb90273ff84696f4103580173cce21c12e2b


-- 
DragonFly BSD source repository



More information about the Commits mailing list