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

PATCH: rlimits.awk revisited



Thanks to Bart for pointing these out.

Index: Src/Builtins/rlimits.awk
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Builtins/rlimits.awk,v
retrieving revision 1.3
diff -u -r1.3 rlimits.awk
--- Src/Builtins/rlimits.awk	2001/05/21 17:02:59	1.3
+++ Src/Builtins/rlimits.awk	2001/05/28 23:17:58
@@ -56,9 +56,9 @@
 }
 # in case of GNU libc
 /^[\t ]*RLIM_NLIMITS[\t ]*=[\t ]*RLIMIT_NLIMITS/ {
-    nlimits = limidx
+    if(!nlimits) { nlimits = limidx }
 }
-/^[\t ]*RLIM_NLIMITS[\t ]*=[\t ]*[0-9][0-9]*/ {
+/^[\t ]*RLIMIT_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