Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] Improved error reporting in GNAT.Sockets

Tuesday December 2, 2008

Two improvements have been made to the error reporting circuitry in GNAT.Sockets. A new literal Broken_Type has been added to enumeration type Socket_Error_Type, corresponding to errno value EPIPE. Specific handling has also been implemented for EAGAIN. On most platforms, this is the same value as EWOULDBLOCK, which is mapped to Resource_Temporarily_Unavailable. Uniform treatment is now provided also on platforms where EAGAIN and EWOULDBLOCK are distinct values, and both are now resolved to Resource_Temporarily_Unavailable.

 

Posted by Posted in Development Log, GNAT Compilation System