git: calendar(1): Reset locale after parsing each calendar file

Aaron LI aly at crater.dragonflybsd.org
Sat Nov 9 21:11:54 PST 2019


commit 008d3e667e6b0b96a22a04662cfa21f42274a913
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Nov 10 12:40:45 2019 +0800

    calendar(1): Reset locale after parsing each calendar file
    
    This avoids that one calendar file that changed the locale by defining
    the "LANG") does not interfere the following calendar files without the
    "LANG" definition.

Summary of changes:
 usr.bin/calendar/io.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/008d3e667e6b0b96a22a04662cfa21f42274a913


-- 
DragonFly BSD source repository



More information about the Commits mailing list