diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/process.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx index 0636278ab7d6..e17d43a787a5 100644 --- a/sal/osl/w32/process.cxx +++ b/sal/osl/w32/process.cxx @@ -440,6 +440,11 @@ void SAL_CALL osl_setCommandArgs (int argc, char ** argv) osl_releaseMutex (*osl_getGlobalMutex()); } +/* TODO because of an issue with GetEnvironmentVariableW we have to + allocate a buffer large enough to hold the requested environment + variable instead of testing for the required size. This wastes + some stack space, maybe we should revoke this work around if + this is no longer a problem */ #define ENV_BUFFER_SIZE (32*1024-1) oslProcessError SAL_CALL osl_getEnvironment(rtl_uString *ustrVar, rtl_uString **ustrValue) |