summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-01-16 10:49:55 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-16 10:50:10 +0100
commit02eb874239be2e638b5782f3de76b338fbda0109 (patch)
treee1e89b9607752aa3000ced9f33574172d645d2b5 /app-shells/bash/files
parentapp-text/nfoview: remove outdated/broken version (diff)
downloadgentoo-02eb874239be2e638b5782f3de76b338fbda0109.tar.gz
gentoo-02eb874239be2e638b5782f3de76b338fbda0109.tar.bz2
gentoo-02eb874239be2e638b5782f3de76b338fbda0109.zip
app-shells/bash: Revbump to fix jobs overflow.
Closes: https://bugs.gentoo.org/644720 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bash-4.4-jobs_overflow.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-4.4-jobs_overflow.patch b/app-shells/bash/files/bash-4.4-jobs_overflow.patch
new file mode 100644
index 000000000000..8753d62ec6c1
--- /dev/null
+++ b/app-shells/bash/files/bash-4.4-jobs_overflow.patch
@@ -0,0 +1,14 @@
+https://lists.gnu.org/archive/html/bug-bash/2017-12/msg00025.html
+https://bugs.gentoo.org/644720
+
+--- bash-4.4/jobs.c
++++ bash-4.4/jobs.c
+@@ -750,7 +750,7 @@
+ else
+ nsize = bgpids.nalloc;
+
+- while (nsize < js.c_childmax)
++ while (nsize < (ps_index_t)js.c_childmax)
+ nsize *= 2;
+
+ if (bgpids.nalloc < js.c_childmax)