about summary refs log tree commit diff
path: root/Src/Builtins
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2003-02-09 01:13:53 +0000
committerClint Adams <clint@users.sourceforge.net>2003-02-09 01:13:53 +0000
commita8feefe8e813ced4b2e311b749682f38ebbf64e6 (patch)
tree82f80ca4419b6d16038a17921f2481238a08ef17 /Src/Builtins
parentf13c7a3a2438e3a8f61123a3561ac031508f8e10 (diff)
downloadzsh-a8feefe8e813ced4b2e311b749682f38ebbf64e6.tar.gz
zsh-a8feefe8e813ced4b2e311b749682f38ebbf64e6.tar.xz
zsh-a8feefe8e813ced4b2e311b749682f38ebbf64e6.zip
* 18207: Src/Builtins/rlimits.c: add maxfilelocks to ulimit output.
Diffstat (limited to 'Src/Builtins')
-rw-r--r--Src/Builtins/rlimits.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c
index f19cdfab9..8eb83c487 100644
--- a/Src/Builtins/rlimits.c
+++ b/Src/Builtins/rlimits.c
@@ -252,6 +252,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)