• Stephan Bergmann's avatar
    Make osl_getExecutableFile work even without a prior osl_setCommandArgs · 41565560
    Stephan Bergmann yazdı
    After 2ad716f4 "Revert 'pyuno: set up fake
    command line in getComponentContext(),'" e.g. PythonTest_sw_python would fail on
    Windows, where WinSalGraphics::GetDevFontList (vcl/win/source/gdi/salgdi3.cxx)
    calls osl_getExecutableFile and is itself called in a python process where
    osl_setCommandArgs has not been set up.
    
    This patch makes osl_getExecutableFile on all platforms if osl_setCommandArgs
    has not (yet) been set fall back to the code that was
    osl_bootstrap_getExecutableFile_Impl (which was called from
    sal/rtl/bootstrap.cxx, which can now call osl_getExecutableFile).
    
    Change-Id: I6c1bb59205041b3208c830a8b8406e28128b4566
    41565560
Adı
Son kayıt (commit)
Son güncelleme
..
conditn.c Loading commit data...
dllentry.c Loading commit data...
file.cxx Loading commit data...
file_dirvol.cxx Loading commit data...
file_error.c Loading commit data...
file_error.h Loading commit data...
file_url.cxx Loading commit data...
file_url.h Loading commit data...
interlck.c Loading commit data...
memory.c Loading commit data...
module.cxx Loading commit data...
mutex.c Loading commit data...
nlsupport.c Loading commit data...
path_helper.cxx Loading commit data...
path_helper.h Loading commit data...
path_helper.hxx Loading commit data...
pipe.c Loading commit data...
process.cxx Loading commit data...
procimpl.cxx Loading commit data...
procimpl.h Loading commit data...
profile.cxx Loading commit data...
salinit.cxx Loading commit data...
secimpl.h Loading commit data...
security.c Loading commit data...
signal.cxx Loading commit data...
socket.cxx Loading commit data...
sockimpl.h Loading commit data...
system.h Loading commit data...
tempfile.cxx Loading commit data...
thread.c Loading commit data...
time.c Loading commit data...