Mail Archives: djgpp-workers/2003/12/23/14:17:31
Hello.
Eli Zaretskii wrote:
> The latest Posix standard defines the rlim_t data type, which is the
> type used to specify limits in sys/resource.h. I've looked at the
> current CVS, and we don't have rlim_t. So how about adding
>
> typedef long rlim_t;
>
> to sys/resource.h and then using rlim_t instead of long in both
> struct rlimit and struct rusage? It sounds like a simple change.
Yes, that sounds fine. Perhaps you could define RLIM_SAVED_MAX and
RLIM_SAVED_CUR at the same time? Perhaps they should be the same as
RLIM_INFINITY (SUSv3/POSIX allows this).
Bye, Rich =]
--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]
"You can't evaluate a man by logic alone."
-- McCoy, "I, Mudd", Star Trek
- Raw text -