]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
mod_ladspa: Set setenv() overwrite flag to replace empty LADSPA_PATH variables.
authorStefan Knoblich <s.knoblich@axsentis.de>
Sun, 3 Jul 2011 23:10:11 +0000 (01:10 +0200)
committerStefan Knoblich <s.knoblich@axsentis.de>
Sun, 3 Jul 2011 23:18:51 +0000 (01:18 +0200)
commitb6826180f37ebfa77c08f1ce761fc9b357d3ed12
treed7c825faddb3ac90b27de7b96fcb65b14ada1030
parent724d7f1649a4942125978ece45c226bfd74303e8
mod_ladspa: Set setenv() overwrite flag to replace empty LADSPA_PATH variables.

For complete putenv()-like behaviour.

Further investigation on why putenv() caused EFAULTs on execve() and
segfaults on reload:

putenv(3):

   "The string pointed to by string becomes part of the environment,
    so altering the string changes the environment."

setenv(3):

   "This function makes copies of the strings pointed to by name and value
    (by contrast with putenv(3))."

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
src/mod/applications/mod_ladspa/mod_ladspa.c