mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-11 08:21:13 +01:00
17285: David Wolfe <dwolfe@gforcetech.com>: finally fix QNX rlimits problem
This commit is contained in:
parent
5221570c4a
commit
5d010ca81a
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-06-05 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 17285: David Wolfe <dwolfe@gforcetech.com>:
|
||||
Src/Builtins/rlimits.c: finally fix 16145 to eliminate duplicate
|
||||
case statement also in ulimit.
|
||||
|
||||
2002-06-05 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 17286: Src/Zle/complist.c: don't use optimised completion
|
||||
|
|
|
@ -571,7 +571,9 @@ bin_ulimit(char *name, char **argv, char *ops, int func)
|
|||
# ifdef RLIMIT_MEMLOCK
|
||||
case RLIMIT_MEMLOCK:
|
||||
# endif /* RLIMIT_MEMLOCK */
|
||||
# ifdef RLIMIT_VMEM
|
||||
/* If RLIMIT_VMEM and RLIMIT_RSS are defined and equal, avoid *
|
||||
* duplicate case statement. Observed on QNX Neutrino 6.1.0. */
|
||||
# if defined(RLIMIT_VMEM) && (!defined(RLIMIT_RSS) || RLIMIT_RSS != RLIMIT_VMEM)
|
||||
case RLIMIT_VMEM:
|
||||
# endif /* RLIMIT_VMEM */
|
||||
# ifdef RLIMIT_AIO_MEM
|
||||
|
|
Loading…
Reference in a new issue