Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: maxfilelocks in ulimit output
- X-seq: zsh-workers 18207
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: maxfilelocks in ulimit output
- Date: Sat, 8 Feb 2003 20:06:55 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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