>>>> "Andrey" == Andrey Slusar
<anrays(a)gmail.com> writes: 
>> 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? 
It's not incorrect, it's merely very bad style to use random
proprocessor symbols in #ifdefs.  It's very easy to write the
configure check for it.
    Andrey>   May by this is a presented in other BSD systems -
    Andrey> NetBSD, OpenBSD, DragonflyBSD and other. I am not checked
    Andrey> this.
Not a problem on NetBSD 2.0 AFAICS.  I'll rebuild and check, though.
-- 
Institute of Policy and Planning Sciences     
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.