On Mon, 2013-09-02 at 19:18 +0200, Lukas Slebodnik wrote:
> ehlo,
> 
> Some platforms can have defined SIZE_T_MAX.
> It is better to use conditional build.
> 
> Two patches are attached. one for master(1.10) and second for 1.9


Uhmm defining SIZE_T_MAX as (size_t)-1 is not technically correct, it
may work with gcc, but could fail with an optimizer, as -1 is simply an
illegal value for an unsigned quantity.

We should use the actual maximum value here.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to