diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2001-08-21 20:05:33 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2001-08-21 20:05:33 +0000 |
| commit | ffec7684a71a32ed3b13775251a2639f1e6b355b (patch) | |
| tree | 8cc0b3ed486e2c17bef4a1a712fa59c59b6b7304 /Src | |
| parent | Better handling of manual section numbers. (diff) | |
| download | zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar.gz zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar.bz2 zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar.lz zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar.xz zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.tar.zst zsh-ffec7684a71a32ed3b13775251a2639f1e6b355b.zip | |
15675: Src/Builtins/rlimits.awk: handle case where RLIM_NLIMITS is set to a number within an enum.
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/Builtins/rlimits.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Builtins/rlimits.awk b/Src/Builtins/rlimits.awk index d4a1db4a6..1a3e5fe77 100644 --- a/Src/Builtins/rlimits.awk +++ b/Src/Builtins/rlimits.awk @@ -58,7 +58,7 @@ BEGIN {limidx = 0} /^[\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) |
