This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ada/35953: Guard against empty buffers and end-of-connection


* Thomas Quinot <quinot@adacore.com> [2008-11-28 16:06:58 +0100]

| Other note, Socket_Error should really be raised using
| Raise_Socket_Error with an appropriate errno value.

In fact, if I remember correctly, this one was only for systems not supporting
EMSGSIZE. If send() returned -1 with EMSGSIZE, then the appropriate error
would have been raised already by Send_Socket.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]