Hello community,
here is the log from the commit of package bash for openSUSE:12.1 checked in at
2011-10-26 15:20:39
Comparing /work/SRC/openSUSE:12.1/bash (Old)
and /work/SRC/openSUSE:12.1/.bash.new (New)
Package is bash, Maintainer is wer...@suse.com
Changes:
--- /work/SRC/openSUSE:12.1/bash/bash.changes 2011-10-24 12:29:09.0
+0200
+++ /work/SRC/openSUSE:12.1/.bash.new/bash.changes 2011-10-28
15:36:05.0 +0200
@@ -1,0 +2,11 @@
+Tue Oct 25 17:11:23 UTC 2011 - wer...@suse.de
+
+- Add direxpand patch from upstream (bnc#725657)
+
+---
+Fri Oct 7 15:01:42 UTC 2011 - wer...@suse.de
+
+- Add patch from upstream mailing list to avoid memory leak by
+ reassigning associative array variable
+
+---
Other differences:
--
++ bash-4.2-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/bash-4.2-patches/bash-4.2-assoc-reassign-memleak.patch
new/bash-4.2-patches/bash-4.2-assoc-reassign-memleak.patch
--- old/bash-4.2-patches/bash-4.2-assoc-reassign-memleak.patch 1970-01-01
01:00:00.0 +0100
+++ new/bash-4.2-patches/bash-4.2-assoc-reassign-memleak.patch 2011-10-07
17:00:28.0 +0200
@@ -0,0 +1,14 @@
+*** ../bash-4.2-patched/assoc.c2009-08-05 20:19:40.0 -0400
+--- assoc.c2011-10-04 20:23:07.0 -0400
+***
+*** 78,81
+--- 78,86
+if (b == 0)
+ return -1;
++ /* If we are overwriting an existing element's value, we're not going to
++ use the key. Nothing in the array assignment code path frees the key
++ string, so we can free it here to avoid a memory leak. */
++ if (b-key != key)
++ free (key);
+FREE (b-data);
+b-data = value ? savestring (value) : (char *)0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bash-4.2-patches/bash-4.2-pwd.patch
new/bash-4.2-patches/bash-4.2-pwd.patch
--- old/bash-4.2-patches/bash-4.2-pwd.patch 1970-01-01 01:00:00.0
+0100
+++ new/bash-4.2-patches/bash-4.2-pwd.patch 2011-10-25 19:04:39.0
+0200
@@ -0,0 +1,394 @@
+*** ../bash-4.2-patched/bashline.c 2011-01-16 15:32:47.0 -0500
+--- bashline.c 2011-07-08 16:30:01.0 -0400
+***
+*** 122,125
+--- 122,128
+ static int bash_push_line __P((void));
+
++ static rl_icppfunc_t *save_directory_hook __P((void));
++ static void reset_directory_hook __P((rl_icppfunc_t *));
++
+ static void cleanup_expansion_error __P((void));
+ static void maybe_make_readline_line __P((char *));
+***
+*** 244,251
+--- 249,262
+ int dircomplete_spelling = 0;
+
++ /* Expand directory names during word/filename completion. */
++ int dircomplete_expand = 0;
++
+ static char *bash_completer_word_break_characters = \t\n\'@=;|(:;
+ static char *bash_nohostname_word_break_characters = \t\n\'=;|(:;
+ /* )) */
+
++ static const char *default_filename_quote_characters =
\t\n\\\'@=;|()#$`?*[!:{~; /*}*/
++ static char *custom_filename_quote_characters = 0;
++
+ static rl_hook_func_t *old_rl_startup_hook = (rl_hook_func_t *)NULL;
+
+***
+*** 502,506
+/* Tell the completer that we might want to follow symbolic links or
+ do other expansion on directory names. */
+! rl_directory_rewrite_hook = bash_directory_completion_hook;
+
+rl_filename_rewrite_hook = bash_filename_rewrite_hook;
+--- 513,517
+/* Tell the completer that we might want to follow symbolic links or
+ do other expansion on directory names. */
+! set_directory_hook ();
+
+rl_filename_rewrite_hook = bash_filename_rewrite_hook;
+***
+*** 530,534
+
+/* characters that need to be quoted when appearing in filenames. */
+! rl_filename_quote_characters = \t\n\\\'@=;|()#$`?*[!:{~;/*}*/
+
+rl_filename_quoting_function = bash_quote_filename;
+--- 541,545
+
+/* characters that need to be quoted when appearing in filenames. */
+! rl_filename_quote_characters = default_filename_quote_characters;
+
+rl_filename_quoting_function = bash_quote_filename;
+***
+*** 565,570
+rl_attempted_completion_function = attempt_shell_completion;
+rl_completion_entry_function = NULL;
+- rl_directory_rewrite_hook = bash_directory_completion_hook;
+rl_ignore_some_completions_function = filename_completion_ignore;
+ }
+
+--- 588,595
+rl_attempted_completion_function = attempt_shell_completion;
+rl_completion_entry_function = NULL;
+rl_ignore_some_completions_function =