Ed Schouten
f67d07f0e1
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
2009-11-27 13:05:14 +00:00
..
2009-06-01 21:58:59 +00:00
2009-07-19 17:25:24 +00:00
2009-09-08 05:02:41 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-10-26 17:27:30 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-27 13:05:14 +00:00
2009-05-25 14:37:10 +00:00
2009-07-10 08:18:08 +00:00
2009-06-23 23:20:09 +00:00
2009-07-19 17:25:24 +00:00
2009-11-15 16:44:43 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 04:04:02 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-25 14:57:07 +00:00
2009-07-19 17:25:24 +00:00
2009-05-19 12:10:48 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 08:30:52 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-06 13:10:12 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-13 11:19:26 +00:00
2009-07-19 17:25:24 +00:00
2009-11-02 12:35:38 +00:00
2009-07-19 17:25:24 +00:00
2009-09-29 19:09:17 +00:00
2009-11-18 06:10:50 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-05 06:08:04 +00:00
2009-11-25 14:59:28 +00:00
2009-11-26 14:01:14 +00:00
2009-06-09 12:32:10 +00:00
2009-06-11 18:04:57 +00:00
2009-07-19 17:25:24 +00:00
2009-11-20 08:57:25 +00:00
2009-07-19 17:25:24 +00:00
2009-11-26 13:41:15 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-06-11 13:59:51 +00:00
2009-07-19 17:25:24 +00:00
2009-09-09 09:50:31 +00:00
2009-07-19 17:25:24 +00:00