Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by George Sherwood (db79722cbaac703019ec2f7874ebb020fed39e42)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: George Sherwood <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (db79722cbaac703019ec2f7874ebb020fed39e42)
  • Date: Sat, 19 Sep 2009 14:36:56 -0500

GIT changes to master grimoire by George Sherwood <gsherwood AT sourcemage.org>:

shell-term-fm/bash/DETAILS | 2
shell-term-fm/bash/HISTORY | 5 +
shell-term-fm/bash/PRE_BUILD | 5 +
shell-term-fm/bash/patches/bash40-029 | 106
++++++++++++++++++++++++++++++++++
shell-term-fm/bash/patches/bash40-030 | 64 ++++++++++++++++++++
shell-term-fm/bash/patches/bash40-031 | 62 +++++++++++++++++++
shell-term-fm/bash/patches/bash40-032 | 46 ++++++++++++++
shell-term-fm/bash/patches/bash40-033 | 50 ++++++++++++++++
8 files changed, 339 insertions(+), 1 deletion(-)

New commits:
commit db79722cbaac703019ec2f7874ebb020fed39e42
Author: George Sherwood <gsherwood AT sourcemage.org>
Commit: George Sherwood <gsherwood AT sourcemage.org>

bash: Added upstream patches bash40-029 to 033. PATCHLEVEL++

diff --git a/shell-term-fm/bash/DETAILS b/shell-term-fm/bash/DETAILS
index 0f22d85..e36f851 100755
--- a/shell-term-fm/bash/DETAILS
+++ b/shell-term-fm/bash/DETAILS
@@ -14,7 +14,7 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE2_IGNORE=signature
SOURCE4_IGNORE=signature
WEB_SITE=http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
- PATCHLEVEL=4
+ PATCHLEVEL=5
ENTERED=20010922
LICENSE[0]=GPL2
KEYWORDS="console"
diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY
index 1c40f7b..bf94d2d 100644
--- a/shell-term-fm/bash/HISTORY
+++ b/shell-term-fm/bash/HISTORY
@@ -1,3 +1,8 @@
+2009-09-19 George Sherwood <gsherwood AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: Added upstream patches
+ * patches/bash40-029 to 033: Added upstream patches
+
2009-08-10 George Sherwood <gsherwood AT sourcemage.org>
* DETAILS: PATCHLEVEL++
* PRE_BUILD: Added upstream patches
diff --git a/shell-term-fm/bash/PRE_BUILD b/shell-term-fm/bash/PRE_BUILD
index fadc204..fac26c1 100755
--- a/shell-term-fm/bash/PRE_BUILD
+++ b/shell-term-fm/bash/PRE_BUILD
@@ -30,6 +30,11 @@ patch -p0 < $SPELL_DIRECTORY/patches/bash40-025 &&
patch -p0 < $SPELL_DIRECTORY/patches/bash40-026 &&
patch -p0 < $SPELL_DIRECTORY/patches/bash40-027 &&
patch -p0 < $SPELL_DIRECTORY/patches/bash40-028 &&
+patch -p0 < $SPELL_DIRECTORY/patches/bash40-029 &&
+patch -p0 < $SPELL_DIRECTORY/patches/bash40-030 &&
+patch -p0 < $SPELL_DIRECTORY/patches/bash40-031 &&
+patch -p0 < $SPELL_DIRECTORY/patches/bash40-032 &&
+patch -p0 < $SPELL_DIRECTORY/patches/bash40-033 &&

if [[ "$BASH_NI_LOGIN" == y ]]; then
message "${MESSAGE_COLOR}Defining
NON_INTERACTIVE_LOGIN_SHELLS.$DEFAULT_COLOR" &&
diff --git a/shell-term-fm/bash/patches/bash40-029
b/shell-term-fm/bash/patches/bash40-029
new file mode 100644
index 0000000..a13176d
--- /dev/null
+++ b/shell-term-fm/bash/patches/bash40-029
@@ -0,0 +1,106 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.0
+Patch-ID: bash40-029
+
+Bug-Reported-by: Christian Krause <chkr AT plauener.de>
+Bug-Reference-ID: Thu, 25 Jun 2009 21:47:59 +0200
+Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2009-06/msg00078.html
+
+Bug-Description:
+
+Previous versions of bash accepted strings in the initial environment
+that were not valid shell variable assignments, usually because the
+names were invalid, but still created shell variables from them and
+passed them to child processes in the environment.
+
+Bash-4.0 ignores those names and does not pass them to child processes.
+Some users and automated processes depend on invalid variables being
+ignored and passed to child processes.
+
+This patch makes bash continue to ignore the invalid names, but pass
+them to child processes in the export environment.
+
+Patch:
+
+*** ../bash-4.0-patched/variables.c 2009-01-04 14:32:46.000000000 -0500
+--- variables.c 2009-06-29 09:17:20.000000000 -0400
+***************
+*** 253,256 ****
+--- 255,259 ----
+ static int visible_var __P((SHELL_VAR *));
+ static int visible_and_exported __P((SHELL_VAR *));
++ static int export_environment_candidate __P((SHELL_VAR *));
+ static int local_and_exported __P((SHELL_VAR *));
+ static int variable_in_context __P((SHELL_VAR *));
+***************
+*** 376,383 ****
+ # endif
+ #endif
+ else if (legal_identifier (name))
+ {
+ temp_var = bind_variable (name, string, 0);
+! VSETATTR (temp_var, (att_exported | att_imported));
+ array_needs_making = 1;
+ }
+--- 379,393 ----
+ # endif
+ #endif
++ #if 0
+ else if (legal_identifier (name))
++ #else
++ else
++ #endif
+ {
+ temp_var = bind_variable (name, string, 0);
+! if (legal_identifier (name))
+! VSETATTR (temp_var, (att_exported | att_imported));
+! else
+! VSETATTR (temp_var, (att_exported | att_imported |
att_invisible));
+ array_needs_making = 1;
+ }
+***************
+*** 3083,3086 ****
+--- 3098,3111 ----
+ }
+
++ /* Candidate variables for the export environment are either valid
variables
++ with the export attribute or invalid variables inherited from the
initial
++ environment and simply passed through. */
++ static int
++ export_environment_candidate (var)
++ SHELL_VAR *var;
++ {
++ return (exported_p (var) && (invisible_p (var) == 0 || imported_p
(var)));
++ }
++
+ /* Return non-zero if VAR is a local variable in the current context and
+ is exported. */
+***************
+*** 3439,3443 ****
+--- 3464,3472 ----
+ SHELL_VAR **vars;
+
++ #if 0
+ vars = map_over (visible_and_exported, vcxt);
++ #else
++ vars = map_over (export_environment_candidate, vcxt);
++ #endif
+
+ if (vars == 0)
+*** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
+--- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 28
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 29
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/shell-term-fm/bash/patches/bash40-030
b/shell-term-fm/bash/patches/bash40-030
new file mode 100644
index 0000000..e4f0389
--- /dev/null
+++ b/shell-term-fm/bash/patches/bash40-030
@@ -0,0 +1,64 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.0
+Patch-ID: bash40-030
+
+Bug-Reported-by: Henning Bekel <h.bekel AT googlemail.com>
+Bug-Reference-ID: <7c6eacF262ctuU1 AT mid.individual.net>
+Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2009-07/msg00054.html
+
+Bug-Description:
+
+A shell function invoked with `bind -x' is supposed to be able to move the
+cursor by setting READLINE_POINT. The effects of this assignment were
+sometimes ignored.
+
+Patch:
+
+*** ../bash-4.0-patched/bashline.c 2009-01-08 09:29:24.000000000 -0500
+--- bashline.c 2009-07-16 14:13:41.000000000 -0400
+***************
+*** 3389,3393 ****
+ register int i;
+ intmax_t mi;
+- int save_point;
+ sh_parser_state_t ps;
+ char *cmd, *value, *l;
+--- 3389,3392 ----
+***************
+*** 3433,3437 ****
+ VSETATTR (v, att_exported);
+ l = value_cell (v);
+- save_point = rl_point;
+ value = inttostr (rl_point, ibuf, sizeof (ibuf));
+ v = bind_int_variable ("READLINE_POINT", value);
+--- 3432,3435 ----
+***************
+*** 3451,3455 ****
+ {
+ i = mi;
+! if (i != save_point)
+ {
+ rl_point = i;
+--- 3449,3453 ----
+ {
+ i = mi;
+! if (i != rl_point)
+ {
+ rl_point = i;
+*** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
+--- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 29
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 30
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/shell-term-fm/bash/patches/bash40-031
b/shell-term-fm/bash/patches/bash40-031
new file mode 100644
index 0000000..db46aa3
--- /dev/null
+++ b/shell-term-fm/bash/patches/bash40-031
@@ -0,0 +1,62 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.0
+Patch-ID: bash40-031
+
+Bug-Reported-by: Roman Rakus <rrakus AT redhat.com>
+Bug-Reference-ID: <4A93F6E9.4050401 AT redhat.com>
+Bug-Reference-URL:
+
+Bug-Description:
+
+An implicit assignment to index "0" of an existing array variable caused
+the shell to crash when the variable was unset.
+
+Patch:
+
+*** ../bash-4.0-patched/arrayfunc.c 2009-03-08 21:24:39.000000000 -0400
+--- arrayfunc.c 2009-08-24 09:29:43.000000000 -0400
+***************
+*** 99,103 ****
+ hash = assoc_create (0);
+ if (oldval)
+! assoc_insert (hash, "0", oldval);
+
+ FREE (value_cell (var));
+--- 99,103 ----
+ hash = assoc_create (0);
+ if (oldval)
+! assoc_insert (hash, savestring ("0"), oldval);
+
+ FREE (value_cell (var));
+*** ../bash-4.0-patched/variables.c 2009-01-04 14:32:46.000000000 -0500
+--- variables.c 2009-08-24 09:29:58.000000000 -0400
+***************
+*** 2218,2222 ****
+ else if (assoc_p (entry))
+ {
+! assoc_insert (assoc_cell (entry), "0", newval);
+ free (newval);
+ }
+--- 2218,2222 ----
+ else if (assoc_p (entry))
+ {
+! assoc_insert (assoc_cell (entry), savestring ("0"), newval);
+ free (newval);
+ }
+*** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
+--- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 30
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 31
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/shell-term-fm/bash/patches/bash40-032
b/shell-term-fm/bash/patches/bash40-032
new file mode 100644
index 0000000..0c9ba74
--- /dev/null
+++ b/shell-term-fm/bash/patches/bash40-032
@@ -0,0 +1,46 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.0
+Patch-ID: bash40-032
+
+Bug-Reported-by: muszi AT muszi.kite.hu
+Bug-Reference-ID: <20090826113159.18815.qmail AT muszi.kite.hu>
+Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2009-08/msg00090.html
+
+Bug-Description:
+
+Bash-4.0 has a memory leak when processing ${!prefix@}.
+
+Patch:
+
+*** ../bash-4.0-patched/subst.c 2009-07-22 23:18:55.000000000 -0400
+--- subst.c 2009-08-26 23:08:51.000000000 -0400
+***************
+*** 6607,6611 ****
+ }
+ free (x);
+! free (xlist);
+ free (temp1);
+ *indexp = sindex;
+--- 6769,6773 ----
+ }
+ free (x);
+! dispose_words (xlist);
+ free (temp1);
+ *indexp = sindex;
+*** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
+--- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 31
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 32
+
+ #endif /* _PATCHLEVEL_H_ */
diff --git a/shell-term-fm/bash/patches/bash40-033
b/shell-term-fm/bash/patches/bash40-033
new file mode 100644
index 0000000..80fcb6b
--- /dev/null
+++ b/shell-term-fm/bash/patches/bash40-033
@@ -0,0 +1,50 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.0
+Patch-ID: bash40-033
+
+Bug-Reported-by: Dr. Werner Fink <werner AT suse.de>
+Bug-Reference-ID: <200907010951.n619p76I013912 AT boole.suse.de>
+Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2009-07/msg00000.html
+
+Bug-Description:
+
+Bash-4.0 has a memory leak in the `read' builtin when the number of fields
+read is not the same as the number of variables passed as arguments.
+
+Patch:
+
+*** ../bash-4.0-patched/builtins/read.def 2009-03-08 21:24:45.000000000
-0400
+--- builtins/read.def 2009-07-01 15:32:42.000000000 -0400
+***************
+*** 764,768 ****
+ tofree = input_string = t;
+ else
+! input_string = strip_trailing_ifs_whitespace (t1, ifs_chars,
saw_escape);
+ }
+ #endif
+--- 764,771 ----
+ tofree = input_string = t;
+ else
+! {
+! input_string = strip_trailing_ifs_whitespace (t1, ifs_chars,
saw_escape);
+! tofree = t;
+! }
+ }
+ #endif
+*** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
+--- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 32
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 33
+
+ #endif /* _PATCHLEVEL_H_ */



  • [SM-Commit] GIT changes to master grimoire by George Sherwood (db79722cbaac703019ec2f7874ebb020fed39e42), George Sherwood, 09/19/2009

Archive powered by MHonArc 2.6.24.

Top of Page