]> granicus.if.org Git - sudo/commit
Handle duplicate variables in the environment. For unsetenv(),
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 May 2010 13:45:01 +0000 (09:45 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 May 2010 13:45:01 +0000 (09:45 -0400)
commit6ef5d610376050ef95f4ec53d5740adfc288ce7b
treed7ac3051f04d478982ecf4f941cf8aa4cb620add
parent90c27c53e63218e4ac2806b7aa1710af3451a70e
Handle duplicate variables in the environment.  For unsetenv(),
keep looking even after remove the first instance.  For sudo_putenv(),
check for and remove dupes after we replace an existing value.

--HG--
branch : 1.7
env.c