22719: check for RLIMIT_NICE and RTLIMIT_RTPRIO so 22718 will work.

This commit is contained in:
Clint Adams 2006-09-15 21:45:27 +00:00
parent 7a7dfd55a1
commit 6e9917e304
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-09-15 Clint Adams <clint@zsh.org>
* 22719: configure.ac: check for RLIMIT_NICE and
RTLIMIT_RTPRIO so 22718 will work.
* 22718: Src/Builtins/rlimits.c: use ulimit -e and -r
for RLIMIT_NICE and RLIMIT_RTPRIO respectively.

View File

@ -1485,6 +1485,8 @@ zsh_LIMIT_PRESENT(RLIMIT_TCACHE)
zsh_LIMIT_PRESENT(RLIMIT_VMEM)
zsh_LIMIT_PRESENT(RLIMIT_SIGPENDING)
zsh_LIMIT_PRESENT(RLIMIT_MSGQUEUE)
zsh_LIMIT_PRESENT(RLIMIT_NICE)
zsh_LIMIT_PRESENT(RLIMIT_RTPRIO)
AH_TEMPLATE([RLIMIT_VMEM_IS_RSS],
[Define to 1 if RLIMIT_VMEM and RLIMIT_RSS both exist and are equal.])