1
0
Fork 0
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:
Peter Stephenson 2002-06-05 09:15:33 +00:00
parent 5221570c4a
commit 5d010ca81a
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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