At 02:35 AM 8/28/00 EDT, you wrote:
>Good day!
>
>
>This message is brought to you by Wine-20000821, with the unwitting
>cooperation of Juno 1.49.
>
>I had a stale symbolic link (to a file that didn't exist) named
>advapi32.dll in \windows\system. somehow that provoked this:
Try this stupid patch :
--- module.c.orig Sun Aug 27 01:50:52 2000
+++ module.c Mon Aug 28 09:54:31 2000
@@ -428,11 +428,14 @@
) {
WINE_MODREF *wm;
char dllname[260], *p;
+ char *modname;
/* Append .DLL to name if no extension present */
strcpy( dllname, path );
if (!(p = strrchr( dllname, '.')) || strchr( p, '/' ) || strchr( p, '\\'))
strcat( dllname, ".DLL" );
+ modname = dllname;
+ if ((p = strrchr( dllname, '\\'))) modname = p+1;
for ( wm = PROCESS_Current()->modref_list; wm; wm = wm->next )
{
@@ -443,6 +446,14 @@
if ( !strcasecmp( dllname, wm->short_modname ) )
break;
if ( !strcasecmp( dllname, wm->short_filename ) )
+ break;
+ if ( !strcasecmp( modname, wm->modname ) )
+ break;
+ if ( !strcasecmp( modname, wm->filename ) )
+ break;
+ if ( !strcasecmp( modname, wm->short_modname ) )
+ break;
+ if ( !strcasecmp( modname, wm->short_filename ) )
break;
}
Gerard