Patch: RFA: Delay call to lt_dlsetsearchpath
Thomas Fitzsimmons
fitzsim@redhat.com
Wed Sep 7 13:43:00 GMT 2005
Hi,
_Jv_SetDLLSearchPath was being called before lt_dlinit so it was having
no effect on libltdl's lookup path. This patch fixes the problem.
OK for mainline?
Tom
2005-09-07 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/23761
* include/java-props.h (_Jv_Module_Load_Path): Declare variable.
* java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
lt_dlinit.
* gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
Define variable.
(_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
_Jv_Module_Load_Path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcj-module-load-path.patch
Type: text/x-patch
Size: 1676 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050907/57e34cde/attachment.bin>
More information about the Java-patches
mailing list