> As far as I created my app. on Mac OS X (i386) with FPC, Synapse seems
> to work fine. One modification is needed on ssfpc.pas.
>
> Original:
> MSG_NOSIGNAL = sockets.MSG_NOSIGNAL; // Do not generate SIGPIPE.
>
> Modified:
> MSG_NOSIGNAL = 0;
>
> I am not sure the value "0" is appropriate. I remamber Lukas
> suggested the value before in this list, but I could not find it.
Value zero causing ignoring of this flag. It is dirty workaround.
I not know MacOSX, so I cannot know right solutions. Possibilities
are:
1) MacOSX not need this flag at all.
1a) flag is defined with 0 value in freepascal headers. Then we must
do nothing.
1b) flag is not defined or is defined badly in FPC. Then we must
report it to FPC developers as a bug. We can redefine it in ssfpc for
MacOSX platform only and set it as zero as workaround.
2) MacOSX needs this flag.
2a) flag is defined in existing freepascals headers. Then we must do
nothing, because it must work correctly in this case.
2b) flag is not defined or is defined badly. Then we must report it
to FPC developers as a bug. We can redefine it in ssfpc for MacOSX
platform only and set it as zero as workaround.
What case is right?
--
Lukas Gebauer.
E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public