mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
14517: glibc 2.2.3 tweaks revisited
This commit is contained in:
parent
1766842e58
commit
c58a4e7e28
2 changed files with 5 additions and 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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue