aboutsummaryrefslogtreecommitdiff
path: root/lib/libsmutil
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-11-27 13:05:14 +0000
committerEd Schouten <ed@FreeBSD.org>2009-11-27 13:05:14 +0000
commitf67d07f0e1236d9cbc2a28508b3da08f41ca7178 (patch)
tree2c11ccaa7231e474ab629db20bd0800fdb88d2c7 /lib/libsmutil
parent1439785421f62d874d5758d474d932c7c6f4e37e (diff)
downloadsrc-f67d07f0e1236d9cbc2a28508b3da08f41ca7178.tar.gz
src-f67d07f0e1236d9cbc2a28508b3da08f41ca7178.zip
Properly use the envp argument in execvPe().
execvPe() is called by _execvpe(), which we added to implement posix_spawnp(). We just took execvP() and added the envp argument. Unfortunately we forgot to change the implementation to use envp over environ. This fixes the following piece of code: | char * const arg[2] = { "env", NULL }; | char * const env[2] = { "FOO=BAR", NULL }; | posix_spawnp(NULL, "/usr/bin/env", NULL, NULL, arg, env); MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=199862
Diffstat (limited to 'lib/libsmutil')
0 files changed, 0 insertions, 0 deletions