Mailing List Archive

Fix: libspf2 segfaults on amd64 platform
Corrects problem with int/size_t size differences by
replacing "int" with "size_t" where ever gcc complained
about it. Also replaces "int" with "socklen_t" in one file.

Background: GCC on AMD64 keeps "int" 32 bits wide, but memory
addresses/block length(size_t) are 64 bits wide,
code that assumes int=size_t could result in problems...

Should not break anything on other platforms...

"make check" produces the same failures as on a 32 bit system,
and none in the first batch of tests.


-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007
Re: Fix: libspf2 segfaults on amd64 platform [ In reply to ]
Thomas Jacob wrote:

> Corrects problem with int/size_t size differences by
> replacing "int" with "size_t" where ever gcc complained
> about it. Also replaces "int" with "socklen_t" in one file.

Thanks.


-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007