I believe Manfred is correct on this one. I am not sure how this ever
worked. And the fix applies to both the Windows and *nix versions.

David Ashley

On Fri, 2012-10-26 at 09:09 +0200, Manfred Lotz wrote:
> I found an error in SysOpenMutexSem under Linux.
> 
> When getting a handle from SysOpenMutexSem the next call using that
> handle gives a segmentation fault.
> 
> I think that the last statement in SysOpenMutexSem must be
>   return context->Uintptr((uintptr_t)semdata);
> instead of
>   return (uintptr_t)semdata->handle;
> 
> This implies that 
>    RexxRoutine1(uintptr_t, SysOpenMutexSem, CSTRING, name)
> must be changed to
>    RexxRoutine1(RexxObjectPtr, SysOpenMutexSem, CSTRING, name)
>  
> 
> I tested my fix and it worked fine. 
> 
> 
> 



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to