git: fortune(6): Add FORTUNE_PATH env variable.

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


commit 31b695b4b083b160b2e86792b018942c4235e1b9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Sep 1 10:15:36 2016 +0300

    fortune(6): Add FORTUNE_PATH env variable.
    
    There was a slight debug logic error in init_prob().
    Also search for fortunes in default dports location too.
    
    Taken-from: FreeBSD

Summary of changes:
 games/fortune/fortune/fortune.6   |   8 ++
 games/fortune/fortune/fortune.c   | 156 +++++++++++++++++++++++++++++++-------
 games/fortune/fortune/pathnames.h |   3 +-
 3 files changed, 137 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31b695b4b083b160b2e86792b018942c4235e1b9


-- 
DragonFly BSD source repository



More information about the Commits mailing list