* PATCH: rlimits.awk revisited
@ 2001-05-28 23:24 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-05-28 23:24 UTC (permalink / raw)
To: zsh-workers
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-28 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-28 23:24 PATCH: rlimits.awk revisited Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).