Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Jason Martin
Just noticed in logs. /var/adm/messages: Nov 29 17:41:46 openindiana genunix: [ID 269049 kern.notice] NOTICE: rexx[1392] attempt to execute non-executable data at 0xfd7fe8a7a130 by uid 101 ___ Oorexx-devel mailing list Oorexx-devel@lists.sou

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Jason Martin
Sorry, one 'sic nix'. Checked out revision 11546. Builds no major warning. rxapi started as service on startup. All tests in test suite pass. Remove rxapi on start up. test suite Segmentation Fault (core dumped) start rxapi as root. All tests in test suite pass. Could not rxapi as normal

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Erich Steinböck
[r11546] compiles and passes all tests on Ubuntu. On Thu, Nov 29, 2018 at 10:00 PM Erich Steinböck wrote: > The latest [r11545] fails compilation on Ubuntu with: > > bin/librexxapi.so.5.0.0: undefined reference to `vtable for > SysLocalSocketConnection' > > _

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Erich Steinböck
The latest [r11545] fails compilation on Ubuntu with: bin/librexxapi.so.5.0.0: undefined reference to `vtable for SysLocalSocketConnection' ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oore

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Enrico Sorichetti via Oorexx-devel
The SO_NOSIGPIPE is OK on macOS But … I get quite a few … [ 3%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi/client/LocalAPIManager.cpp.o /Users/enrico/rxapi.svn/rexxapi/client/LocalAPIManager.cpp:302:9: warning: delete called on 'ApiConnection' that is abstract but has non-virtual

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Erich Steinböck
Re latest commit [r11543]: As far as I understand SO_NOSIGPIPE is BSD-only, and not available on Linux. The only compatible option seems to be signal(SIGPIPE, SIG_IGN); ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourc

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Rick McGuire
Any of the places in SysCSStream.cpp where a socket is created. Turn it off on the socket directly. Rick On Thu, Nov 29, 2018 at 7:59 AM Enrico Sorichetti via Oorexx-devel < oorexx-devel@lists.sourceforge.net> wrote: > > > > On 29 Nov 2018, at 13:27, Rick McGuire wrote: > > > > Thanks, that loo

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Enrico Sorichetti via Oorexx-devel
> On 29 Nov 2018, at 13:27, Rick McGuire wrote: > > Thanks, that looks useful. I probably won't be able to update this for a bit, > but it looks like a good thing to add. > > Rick I sprinkled a few printf around the "signal(SIGPIPE, SIG_IGN)” occurrences And the two I found were successful

Re: [Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Rick McGuire
Thanks, that looks useful. I probably won't be able to update this for a bit, but it looks like a good thing to add. Rick On Thu, Nov 29, 2018 at 7:13 AM Rony G. Flatscher wrote: > This is just a comment ad SIGPIPE in the test suite, which according to > < > https://developer.apple.com/library/

[Oorexx-devel] Ad MacOS SIGPIPE (Re: Time for the *ix users to pitch in.

2018-11-29 Thread Rony G. Flatscher
This is just a comment ad SIGPIPE in the test suite, which according to should be either handled or ignored or the socket configured to not raise a SIG