Good, thanks, applied.

--Josh


At 23:43 on 03/24/2002 +0100, "Ritz Daniel" <[EMAIL PROTECTED]> wrote:

> parrot_dlclose() uses dlclose() on unix, FreeLibrary() on windoze.
> dlclose returns 0 on success, FreeLibrary returns 0 on failure...fix included
> 
> 
> Index: platforms/win32.c
> ===================================================================
> RCS file: /cvs/public/parrot/platforms/win32.c,v
> retrieving revision 1.7
> diff -u -r1.7 win32.c
> --- platforms/win32.c 8 Mar 2002 04:37:25 -0000 1.7
> +++ platforms/win32.c 24 Mar 2002 22:39:32 -0000
> @@ -100,7 +100,7 @@
>  int
>  Parrot_dlclose(void *handle)
>  {
> -    return FreeLibrary(handle);
> +    return FreeLibrary(handle)? 0: 1;
>  }
>  
>  /*
> 
> 


Reply via email to