On 30-6-2011 9:49, Ludo Brands wrote:
  >
>
> All but one of the missing consts in sockets are defined for solaris but
> have different values. I'm preparing a patch for fpc.
> The missing one is perhaps important: MSG_NOSIGNAL. Solaris doesn't support
> this functionality. I noticed the Libc.SIG_IGN signal handler for SIGPIPE is
> installed in sslinux. I guess that handles that problem, doesn't it? If so,
> I'll suggest to fpc the define MSG_NOSIGNAL = 0.

No emulations. The policy is roughly this:
- if the constant is supported by most platforms it can be added to a 
platform independant unit (like sockets) with a "platform;" modifier, 
and it will not be there or emulated for units that don't support it.
- if the constant is only supported by one platform it must move to a 
platform specific unit.

Actually it is on my todo to further clean up the sockets unit that way, 
marking OS specific functionality that might not be implemented with 
Platform;.  Bootstrapping issues prevented large scale adding of such 
modifiers till now.

(and actually for a time MSG_NOSIGNAL was not there in FreeBSD either, 
till a later revision added (documented?) the functionality. So it seems 
to be not an universal constant)

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to