aboutsummaryrefslogtreecommitdiffstats
path: root/main/bash/fix-jobs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bash/fix-jobs.patch')
-rw-r--r--main/bash/fix-jobs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/bash/fix-jobs.patch b/main/bash/fix-jobs.patch
new file mode 100644
index 0000000000..c01db4e19f
--- /dev/null
+++ b/main/bash/fix-jobs.patch
@@ -0,0 +1,13 @@
+diff --git a/jobs.c b/jobs.c
+index fc96603..d203db2 100644
+--- a/jobs.c
++++ b/jobs.c
+@@ -765,7 +765,7 @@ bgp_resize ()
+ 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)