*** ltdl.c-orig Sun Nov 2 11:12:58 2003
--- ltdl.c Sun Nov 2 11:13:23 2003
***************
*** 479,486 ****
strcpy(searchname, filename);
strcat(searchname, ".");
}
!
! module = LoadLibrary(searchname);
lt_dlfree(searchname);
/* libltdl expects this function to fail if it is unable
--- 479,490 ----
strcpy(searchname, filename);
strcat(searchname, ".");
}
! {
! char buf[1024];
! ! cygwin_conv_to_win32_path (searchname, buf);
! module = LoadLibrary(buf);
! }
lt_dlfree(searchname);
/* libltdl expects this function to fail if it is unable
*** natRuntime.cc-orig Sun Nov 2 08:58:56 2003
--- natRuntime.cc Sun Nov 2 11:59:29 2003
***************
*** 174,180 ****
jsize total = JvGetStringUTFRegion (path, 0, path->length(), &buf[offset]);
buf[offset + total] = '\0';
! char *lib_name = buf;
if (do_search)
{
--- 174,180 ----
jsize total = JvGetStringUTFRegion (path, 0, path->length(), &buf[offset]);
buf[offset + total] = '\0';
! char *lib_name = strdup (buf);
if (do_search) {
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/