[fpc-devel] patch for unit sockets

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 16 15:55:28 CET 2006


On 16 jan 2006, at 15:49, Marco van de Voort wrote:

>> SocketError should be a threadvar, I think
>
> Socketerror is legacy. Use fpgeterrno (or errno) to get the error.

It should either be removed or fixed. Currently it's e.g. nowhere set  
anymore for *nix, yet still used in rtl/inc/sockovl.inc. Also,  
sockets is a platform-independent unit afaik while fpgeterrno is  
fairly *nix-specific (in our rtl anyway).


Jonas




More information about the fpc-devel mailing list