Don't pull in environ, not always safe. Global variables are bad anyway.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 9 Jun 2006 20:43:11 +0000 (20:43 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 9 Jun 2006 20:43:11 +0000 (20:43 +0000)
commit2fafaf1b01bbcb8a5db2f6ded07fb840115ca5d9
tree9edc655274a00d4c2b5e1e3bc9becff9e795f536
parentfcaf345c88bc19d0ef96bfa1eaa411cb725250ed
Don't pull in environ, not always safe. Global variables are bad anyway.
Use execve when explicit environment variables ptr is available. Otherwise
just use execv.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28740 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/Program.inc