Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: maxfilelocks in ulimit output



Index: Src/Builtins/rlimits.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Builtins/rlimits.c,v
retrieving revision 1.7
diff -u -r1.7 rlimits.c
--- Src/Builtins/rlimits.c	27 Aug 2002 21:10:34 -0000	1.7
+++ Src/Builtins/rlimits.c	9 Feb 2003 01:05:39 -0000
@@ -257,6 +257,12 @@
 	    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)



Messages sorted by: Reverse Date, Date, Thread, Author