diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2001-05-28 23:26:23 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2001-05-28 23:26:23 +0000 |
| commit | c58a4e7e28504c4d4cca8ecabc3ea92225fee29b (patch) | |
| tree | 16d4319b1198f6d1a90429bfaed47a4fd53c6077 | |
| parent | thinko (diff) | |
| download | zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar.gz zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar.bz2 zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar.lz zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar.xz zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.tar.zst zsh-c58a4e7e28504c4d4cca8ecabc3ea92225fee29b.zip | |
14517: glibc 2.2.3 tweaks revisited
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Src/Builtins/rlimits.awk | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2001-05-28 Clint Adams <schizo@debian.org> + * 14517: Src/Builtins/rlimits.awk: fix glibc2.2.3 + handling. + * 14513: Completion/Debian/Command/.distfiles, Completion/Debian/Command/_update_alternatives: completion for update-alternatives diff --git a/Src/Builtins/rlimits.awk b/Src/Builtins/rlimits.awk index 5542c6cef..d4a1db4a6 100644 --- a/Src/Builtins/rlimits.awk +++ b/Src/Builtins/rlimits.awk @@ -56,9 +56,9 @@ BEGIN {limidx = 0} } # 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) |
