]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
mod_ladspa: putenv() breaks the process environment variables, use setenv() instead.
authorStefan Knoblich <s.knoblich@axsentis.de>
Sun, 3 Jul 2011 11:55:19 +0000 (13:55 +0200)
committerStefan Knoblich <s.knoblich@axsentis.de>
Sun, 3 Jul 2011 12:01:08 +0000 (14:01 +0200)
commitf6dadb587cee78e758e7e59ed81484c45619fce1
tree17889771047c5ddff0a7051aa0fda02bfe641867
parent5962861b6bb0cf9483fec60bc291f87d6491541e
mod_ladspa: putenv() breaks the process environment variables, use setenv() instead.

Use of putenv() to set LADSPA_PATH broke the proccess environment variables, for some
unknown reason, causing segfaults on "reload mod_ladspa" and restarting
FreeSWITCH (with "fcstl shutdown restart").

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