Sun, 23 Jan 2005 08:27:24 -0500, Vin Shelton wrote:
> Configure tests is not needed. From FreeBSD's
sys/types.h:
> ,----
> [...]
> | #ifndef _RLIM_T_DECLARED
> | typedef __rlim_t rlim_t; /* resource limit */
> | #define _RLIM_T_DECLARED
> | #endif
> [...]
> `----
>
QUERY
Do any other systems have this declaration? Neither my Linux system
nor my Solaris systems do.
My patch is check _RLIM_T_DECLARED, and when it is defined, use the
rlim_t type for resource limit data. In Linux this is not defined,
lim_data type is unsigned long type. Why this is incorrect?
--
Regards,
Andrey.