git: DragonFly_RELEASE_6_2 libc: Fix environment passing in posix_spawnp(3)
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Jan 5 11:42:41 PST 2022
commit d3193644d7e487f43bf655ca34b42709d878bef0
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Mon Jan 3 06:18:15 2022 +0000
libc: Fix environment passing in posix_spawnp(3)
The execvPe() was always passing the parent process environment to
children (a long standing bug).
While there, replace the deprecated index(3) with strchr(3).
Reported-by: falsifian (breakage in hs-git-annex)
Summary of changes:
lib/libc/gen/exec.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3193644d7e487f43bf655ca34b42709d878bef0
--
DragonFly BSD source repository
More information about the Commits
mailing list