Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: missing rlimits case
- X-seq: zsh-workers 15675
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: missing rlimits case
- Date: Tue, 21 Aug 2001 15:28:47 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
This affects, at the very least, glibc 2.2.4 on sparc64.
I'll commit to both branches, and hopefully nothing will break.
Index: Src/Builtins/rlimits.awk
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Builtins/rlimits.awk,v
retrieving revision 1.4
diff -u -r1.4 rlimits.awk
--- Src/Builtins/rlimits.awk 2001/05/28 23:26:24 1.4
+++ Src/Builtins/rlimits.awk 2001/08/21 19:24:41
@@ -58,7 +58,7 @@
/^[\t ]*RLIM_NLIMITS[\t ]*=[\t ]*RLIMIT_NLIMITS/ {
if(!nlimits) { nlimits = limidx }
}
-/^[\t ]*RLIMIT_NLIMITS[\t ]*=[\t ]*[0-9][0-9]*/ {
+/^[\t ]*RLIM(IT)?_NLIMITS[\t ]*=[\t ]*[0-9][0-9]*/ {
limindex = index($0, "=")
limtail = substr($0, limindex, 80)
split(limtail, tmp)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author