mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 971811 - Don't prepend an empty existing DYLD_INSERT_LIBRARIES path when launching the plugin. r=smichaud
--HG-- extra : rebase_source : 29048fe746e97b693ef4d1b3f87a531eab9dc0a4 extra : histedit_source : ecbe309757878f56b5b23d0fc5533e1405d5604a
This commit is contained in:
parent
5113a01350
commit
48b3c7e7c8
@ -636,7 +636,7 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std::vector<std::string>& aExt
|
||||
// been set up by whatever may have launched the browser.
|
||||
const char* prevInterpose = PR_GetEnv("DYLD_INSERT_LIBRARIES");
|
||||
nsCString interpose;
|
||||
if (prevInterpose) {
|
||||
if (prevInterpose && strlen(prevInterpose) > 0) {
|
||||
interpose.Assign(prevInterpose);
|
||||
interpose.Append(':');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user