]> git.armaanb.net Git - opendoas.git/commit
the environment handling code was showing its age. just because environ is a char...
authortedu <tedu>
Thu, 16 Jun 2016 17:40:30 +0000 (17:40 +0000)
committerDuncaen <mail@duncano.de>
Fri, 24 Jun 2016 14:47:41 +0000 (16:47 +0200)
commit1a0ed98a5cb619824028193ecff946f209da81fb
tree545b78a452dd8b4bf079f0eed2c5dabe3b034dc1
parent9278ac53a4c5cce85b1721c170bbb4ce960e7ff6
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)
Makefile
doas.c
doas.h
env.c [new file with mode: 0644]