view .hgsubstate @ 22146:ef91e43f162a

set DLL directory when loading DLLs on Windows systems (bug #48511) * file-ops.h (file_ops::dirname): New function. * oct-shlib.cc (set_dll_directory): New function. (octave_w32_shlib::octave_w32_shlib): Call file_ops::dirname to get directory part of shared library file, then use set_dll_directory to temporarily alter DLL search path. * ov-java.cc (set_dll_directory): Delete. (initialize_jvm): Don't set DLL search path for Windows systems here. That job is now handled by octave::dynamic_library.
author John W. Eaton <jwe@octave.org>
date Tue, 19 Jul 2016 12:07:34 -0400
parents 3008798dc5ba
children dc4e2203cd15
line wrap: on
line source

ec48ad192f8f2b60a58e032924a53529903d1bcb gnulib