b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | BASH PATCH REPORT |
| 2 | ================= |
| 3 | |
| 4 | Bash-Release: 5.1 |
| 5 | Patch-ID: bash51-001 |
| 6 | |
| 7 | Bug-Reported-by: Fazal Majid <fazal@majid.org> |
| 8 | Bug-Reference-ID: <DEAB7D2C-C626-450C-B2E5-281AFF2D26D4@majid.org> |
| 9 | Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00000.html |
| 10 | |
| 11 | Bug-Description: |
| 12 | |
| 13 | There is a missing dependency on a constructed file, which can cause highly |
| 14 | parellel builds to fail. |
| 15 | |
| 16 | Patch (apply with `patch -p0'): |
| 17 | |
| 18 | --- a/Makefile.in |
| 19 | +++ b/Makefile.in |
| 20 | @@ -1315,6 +1315,7 @@ bashline.o: trap.h flags.h assoc.h $(BAS |
| 21 | bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h |
| 22 | bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h |
| 23 | bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h |
| 24 | +bashline.o: ${DEFDIR}/builtext.h |
| 25 | bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h |
| 26 | bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h |
| 27 | bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h |
| 28 | @@ -1435,6 +1436,7 @@ builtins/evalstring.o: quit.h unwind_pro |
| 29 | builtins/evalstring.o: dispose_cmd.h make_cmd.h subst.h externs.h |
| 30 | builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h |
| 31 | builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h |
| 32 | +builtins/evalstring.o: ${DEFDIR}/builtext.h |
| 33 | builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h |
| 34 | builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h |
| 35 | builtins/getopt.o: variables.h arrayfunc.h conftypes.h quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h |
| 36 | --- a/builtins/Makefile.in |
| 37 | +++ b/builtins/Makefile.in |
| 38 | @@ -361,7 +361,7 @@ evalstring.o: $(topdir)/dispose_cmd.h $( |
| 39 | evalstring.o: $(topdir)/externs.h $(topdir)/jobs.h $(topdir)/builtins.h |
| 40 | evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h |
| 41 | evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h |
| 42 | -evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h |
| 43 | +evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h ./builtext.h |
| 44 | #evalstring.o: $(topdir)/y.tab.h |
| 45 | getopt.o: ../config.h $(BASHINCDIR)/memalloc.h |
| 46 | getopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(topdir)/command.h |
| 47 | --- a/patchlevel.h |
| 48 | +++ b/patchlevel.h |
| 49 | @@ -1,6 +1,6 @@ |
| 50 | /* patchlevel.h -- current bash patch level */ |
| 51 | |
| 52 | -/* Copyright (C) 2001-2016 Free Software Foundation, Inc. |
| 53 | +/* Copyright (C) 2001-2020 Free Software Foundation, Inc. |
| 54 | |
| 55 | This file is part of GNU Bash, the Bourne Again SHell. |
| 56 | |
| 57 | @@ -25,6 +25,6 @@ |
| 58 | regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh |
| 59 | looks for to find the patch level (for the sccs version string). */ |
| 60 | |
| 61 | -#define PATCHLEVEL 0 |
| 62 | +#define PATCHLEVEL 1 |
| 63 | |
| 64 | #endif /* _PATCHLEVEL_H_ */ |