[Oorexx-devel] Error in SysOpenMutexSem

2012-10-26 Thread Manfred Lotz
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

Re: [Oorexx-devel] Error in SysOpenMutexSem

2012-10-26 Thread David Ashley
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

Re: [Oorexx-devel] Error in SysOpenMutexSem

2012-10-26 Thread Rick McGuire
On Fri, Oct 26, 2012 at 10:01 AM, David Ashley w.david.ash...@gmail.comwrote: 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. His fix is a little more complicated than required. It should just be return

Re: [Oorexx-devel] Error in SysOpenMutexSem

2012-10-26 Thread Manfred Lotz
On Fri, 26 Oct 2012 10:05:40 -0400 Rick McGuire object.r...@gmail.com wrote: On Fri, Oct 26, 2012 at 10:01 AM, David Ashley w.david.ash...@gmail.comwrote: 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