1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-18 21:14:11 +01:00

18207: add maxfilelocks to ulimit output.

This commit is contained in:
Clint Adams 2003-02-09 01:12:35 +00:00
parent 4f3b9e43d2
commit b5b1099023
2 changed files with 10 additions and 0 deletions

@ -1,3 +1,7 @@
2003-02-08 Clint Adams <clint@zsh.org>
* 18207: Src/Builtins/rlimits.c: add maxfilelocks to ulimit output.
2003-02-07 Peter Stephenson <pws@csr.com>
* 18204: Doc/Zsh/builtins.yo, Src/builtin.c: KSH_ARRAYS gives

@ -257,6 +257,12 @@ printulimit(int lim, int hard, int head)
printf("threads per process ");
break;
# endif /* RLIMIT_PTHREAD */
# ifdef RLIMIT_LOCKS
case RLIMIT_LOCKS:
if (head)
printf("file locks ");
break;
# endif /* RLIMIT_LOCKS */
}
/* display the limit */
if (limit == RLIM_INFINITY)