https://issues.apache.org/ooo/show_bug.cgi?id=124509
--- Comment #3 from [email protected] --- Tried to use opengrok to find corners where the process environment is/might be setup, assuming that somewhere either a) PATH et.al. get removed (e.g. by unsetenv()) or b) the environment gets cleared (and afterwards, somewhere populated, leaving out PATH and PWD on MacOSX only). Unfortunetely, not being acquainted with the overall architecture of AOO, nor with how the scripting environment is set up and dispatched at runtime, using opengrok is like using a little lamp in 1000 square mile wood. The only two somehow meaningful locations I found (but not where and how they get used) were: osl_clearEnvironment, <http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sal/osl/unx/process_impl.cxx#382> and the result of the query: <http://opengrok.adfinis-sygroup.org/source/search?q=unsetenv+path+macosx&defs=&refs=&path=&hist=&project=aoo-trunk>. Unfortunately, there is nothing in any (of the many other spots I stumbled over using "macosx", "getenv", "setenv", "unsetenv") of the hits, that I could use to research further, let alone to do anything about this. (Maybe some configuration, setup, security manager, ..., plays a role on MacOSX after the OOo days.) -- You are receiving this mail because: You are the assignee for the issue. You are watching all issue changes.
