CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/06/16 11:40:30

Modified files:
        usr.bin/doas   : Makefile doas.c doas.h 
Added files:
        usr.bin/doas   : env.c 

Log message:
the environment handling code was showing its age. just because environ
is a char** array doesn't mean we must exclusively operate on such.
convert to a red-black tree, manipulate as desired, then flatten to array.
potentially overkill for the current operations, but reading the tea leaves
i see that more manipulations are desired.
ok tb
(and some thought provoking disagreement from martijn)

Reply via email to