mirror of
https://github.com/tianon/docker-bash.git
synced 2026-11-19 16:06:17 +03:00
This also includes support for per-version patches, and converts some hacky code we had for devel to a proper patch file. My intent is to keep all these patches minimal -- any non-minimal patching (especially anything beyond "make it compile successfully") will likely be grounds for no longer supporting a given version. Almost all of these patches are cobbled together from later commits in Bash upstream (ie, backported fixes). Only one or two are actually pure-Tianon creations (and those are just `#include <something.h>`).
29 lines
629 B
Diff
29 lines
629 B
Diff
Description: minor fixes for Alpine 3.21+
|
|
Author: Tianon (& Chet, for fixes borrowed/backported)
|
|
|
|
diff --git a/parse.y b/parse.y
|
|
index f415d2ee..e59dbed9 100644
|
|
--- a/parse.y
|
|
+++ b/parse.y
|
|
@@ -71,6 +71,7 @@
|
|
# include "jobs.h"
|
|
#else
|
|
extern int cleanup_dead_jobs __P((void));
|
|
+extern int count_all_jobs __P((void));
|
|
#endif /* JOB_CONTROL */
|
|
|
|
#if defined (ALIAS)
|
|
|
|
diff --git a/siglist.h b/siglist.h
|
|
index 4cb65308..bc0ea441 100644
|
|
--- a/siglist.h
|
|
+++ b/siglist.h
|
|
@@ -18,6 +18,8 @@
|
|
along with Bash. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
+#include <string.h>
|
|
+
|
|
#if !defined (_SIGLIST_H_)
|
|
#define _SIGLIST_H_
|