[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: It's works! (fwd)
From:       lawson_whitney () juno ! com
Date:       2000-08-28 15:03:50
[Download RAW message or body]

On Mon, 28 Aug 2000, gerard patel wrote:

> >
> >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
>
Yep, the stupid little patch takes care of this case of user head space
error.  Thanks.

Lawson


panic: detected rogue system administrator!!

---cut here





________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic