git: fortune(6): Turn writing to disk a runtime option.

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


commit bd5b2c7273a9e8af8b8bd4f6d292ad47af782211
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Sep 1 08:17:12 2016 +0300

    fortune(6): Turn writing to disk a runtime option.
    
    Add FORTUNE_SAVESTATE environment knob.
    Using env variable avoids having non compilable code that might
    get stale with future updates and/or changes in base system.
    
    Fix -Werror=sign-compare case in this code.
    
    Taken-from: FreeBSD

Summary of changes:
 games/fortune/fortune/fortune.6 |  8 +++-
 games/fortune/fortune/fortune.c | 87 +++++++++++++++++++----------------------
 2 files changed, 47 insertions(+), 48 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list