Changeset 1741 for zzuf


Ignore:
Timestamp:
Feb 8, 2007, 10:51:37 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • OpenBSD support for setrlimit().
Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r1740 r1741  
    144144
    145145\fBzzuf\fR uses the \fBsetrlimit\fR() call to set memory usage limitations and
    146 relies on the operating system's ability to enforce such limitations. This
    147 option is not available on the OpenBSD system.
     146relies on the operating system's ability to enforce such limitations.
    148147.TP
    149148\fB\-n\fR, \fB\-\-network\fR
  • zzuf/trunk/src/zzuf.c

    r1740 r1741  
    8080#elif defined RLIMIT_VMEM
    8181#   define ZZUF_RLIMIT_CONST RLIMIT_VMEM
     82#elif defined RLIMIT_DATA
     83#   define ZZUF_RLIMIT_CONST RLIMIT_DATA
    8284#else
    8385#   undef HAVE_SETRLIMIT
Note: See TracChangeset for help on using the changeset viewer.