Sry i don't understand the problem. There is 1 to 1 relation between
error nums and desc and num is still stored per socket. If the other
is an issue it should be fixed elsewhere too

On 7/31/09, Przemyslaw Czerpak <dru...@acn.waw.pl> wrote:
> On Fri, 31 Jul 2009, vszak...@users.sourceforge.net wrote:
>
> Hi,
>
>> 2009-07-31 12:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>>   * source/rtl/hbinet.c
>>     % Cleaned old error description handling logic. Now the error
>>       desc is dynamically retrieved instead of being stored along
>>       the error code.
>
> It introduce very serious incompatibility to previous version
> and eliminates important functionality: the error codes were
> bound with sockets now we have single error code for all sockets
> per thread.
> It also creates other inconsistencies, i.e. some functions like
> hb_inetServer() always returned socket so later then should be
> used to test errors. Now such behavior is a nonsense so they
> should be modified and documentation updated.
>
> Please revert it. If you want then only modify the code to store
> pointers to error descriptions instead of coping them to internal
> buffer. Now they are all constant and comes from then same library
> so we will not have problem if someone dynamically load and unload
> some shared lib with constant strings.
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to