summaryrefslogtreecommitdiff
path: root/CWRU/changelog
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2016-08-22 15:58:43 -0400
committerChet Ramey <chet.ramey@case.edu>2016-08-22 15:58:43 -0400
commit955543877583837c85470f7fb8a97b7aa8d45e6c (patch)
treeb239e7c3983a9189b8f0104854ee82283c5807ab /CWRU/changelog
parenta4eef1991c25c9d1c55f777952cd522c762c6fc3 (diff)
downloadbash-4.4-testing.tar.gz
bash-4.4-rc2 releasebash-4.4-rc2bash-4.4-testing
Diffstat (limited to 'CWRU/changelog')
-rw-r--r--CWRU/changelog196
1 files changed, 194 insertions, 2 deletions
diff --git a/CWRU/changelog b/CWRU/changelog
index 3274a2c3..36336794 100644
--- a/CWRU/changelog
+++ b/CWRU/changelog
@@ -10342,7 +10342,7 @@ lib/readline/bind.c
1/11
----
-execute_cmd.c
+subst.c
- process_substitute: when compiled without job control (JOB_CONTROL not
defined), make sure we call stop_making_children like we do in the job
control code branch, so already_making_children is reset to 0. This
@@ -11303,7 +11303,7 @@ execute_cmd.c
6/23
----
-execute_cmd.c
+subst.c
- param_expand: when expanding $* in a context where splitting is not
desired (pflags & PF_ASSIGNRHS), make sure to quote the word and the
included separators. Reported by Dan Douglas <ormaaj@gmail.com>
@@ -11331,3 +11331,195 @@ subst.c
subst.[ch],arrayfunc.c
- string_list_dollar_at: now takes a new third argument, currently
reserved for future use; changed callers and declaration
+
+ 7/7
+ ---
+[bash-4.4-beta2 frozen]
+
+ 7/9
+ ---
+bashline.c
+ - check_redir: make sure that index is > 0 before checking previous
+ char; fixes out of bounds read reported by Hanno Böck
+ <hanno@hboeck.de>
+
+ 7/16
+ ----
+subst.c
+ - parameter_brace_expand: if ${array[@]} or ${array[*]} is supplied
+ with an unset (or empty) array, and -u is enabled, don't make it
+ an unbound variable error, like $@ or $* when there are no
+ positional parameters. Based on report from Ian Allen
+ <idallen@idallen-fibe.dyndns.org>
+
+lib/readline/signals.c
+ - rl_pending_signal(): return the number of any signal readline has
+ caught but is waiting to handle
+
+lib/readline/callback.c
+ - rl_persistent_signal_handlers: new variable, restores readline-6.2
+ signal handler semantics: installed at rl_callback_handler_install
+ time and removed with rl_clear_signals when a complete line has
+ been read
+ - _rl_callback_newline: call rl_set_signals if rl_persistent_signal_handlers
+ is non-zero
+ - rl_callback_read_char: install signal handlers with rl_set_signals
+ if rl_persistent_signal_handlers is 0 (the default)
+ - CALLBACK_READ_RETURN: uninstall signal handlers with rl_clear_signals
+ only if rl_persistent_signal_handlers is 0 (the default)
+
+lib/readline/readline.h
+ - rl_pending_signal: new extern declaration
+ - rl_persistent_signal_handlers: new extern declaration
+
+ 7/19
+ ----
+execute_cmd.c
+ - execute_while_or_until: make sure we decrement `continuing' the way
+ we decrement `breaking' if the loop test indicates we will be
+ breaking out of the loop. That keeps `until continue' from
+ keeping `continuing' set to 1. Reported by Dan Douglas
+ <ormaaj@gmail.com>
+
+ 7/20
+ ----
+trap.c
+ - run_pending_traps,_run_trap_internal: save and restore temporary_env,
+ set temporary_env to 0 before trap runs so traps don't inherit a
+ command's temporary env. Fixes bug with IFS assignment in tempenv
+ and trap reported by Andriy Martynets <martynets@volia.ua>
+
+jobs.c
+ - run_sigchld_trap: save and restore temporary_env, set temporary_env
+ to 0 before trap runs so traps don't inherit a command's temporary
+ env (see above)
+
+ 7/21
+ ----
+execute_cmd.c
+ - execute_function: unwind-protect function_line_number, in case we
+ are executing a function inside another function. Reported by
+ Grisha Levit <grishalevit@gmail.com> in context of evaled functions
+ and DEBUG traps
+ - execute_arith_for_command,execute_arith_command,execute_simple_command,
+ execute_cond_command: make sure line_number doesn't go < 0 when
+ adjusting it by function_line_number
+
+ 7/23
+ ----
+subst.c,command.h
+ - move the PF_ constants to command.h so other files can see them, now
+ that PF_ASSIGNRHS has meaning to string_list_dollar_at
+
+arrayfunc.h
+ - AV_ASSIGNRHS: new flag, indicate that ${a[@]} is being expanded on
+ the RHS of an assignment statement
+
+arrayfunc.c
+ - array_value_internal: if AV_ASSIGNRHS passed for ${a[@]}, pass
+ PF_ASSIGNRHS to string_list_dollar_at to support args separated by
+ spaces even if $IFS does not have the default value. Reported by
+ Dan Douglas <ormaaj@gmail.com>
+
+subst.c
+ - string_list_dollar_at: if FLAGS argument includes PF_ASSIGNRHS, obey
+ rules for $@ on the RHS of an assignment statement: expand to
+ postitional parameters separated by spaces no matter what the first
+ character of $IFS is. Reported by Dan Douglas <ormaaj@gmail.com>
+ - parameter_brace_expand_word: pass AV_ASSIGNRHS as flags value to
+ array_value if PF_ASSIGNRHS is set and we are expanding an array
+ variable subscripted by @ or *
+ - param_expand: pass pflags to string_list_dollar_at in case it contains
+ PF_ASSIGNRHS
+ - expand_word_internal: if we have an assignment statement argument to
+ a declaration builtin (W_ASSIGNARG), turn on W_ASSIGNRHS when we see
+ the `=' to enable special $@ behavior
+ - expand_word_internal: if W_ASSIGNARG enabled in word flags, pass that
+ flag and W_ASSIGNRHS to recursive call to expand_word_internal when
+ expanding double-quoted string; handles "$@" when IFS is not the
+ default value and word splitting will not be performed
+
+subst.c
+ - expand_word_internal: change case that handles '' (single-quoted
+ empty string) to only discard it if we will not be performing word
+ splitting (W_NOSPLIT|W_NOSPLIT2), since we need to add a quoted null
+ argument if the subsequent characters will cause word splitting.
+ This is how "" (double-quoted empty string) is handled after a bug
+ fix back in August 2010. Reported by Grisha Levit
+ <grishalevit@gmail.com>, fix for Posix interp 888
+
+ 7/27
+ ----
+subst.c
+ - param_expand: change fix from 6/23 (expanding $* in a context where
+ word splitting is not performed) to make sure that $* expands to
+ something before trying to quote the string. Bug and fix from
+ Andreas Schwab <schwab@suse.de>
+
+lib/readline/bind.c
+ - _rl_get_string_variable_value: fix a cut-and-paste error that caused
+ the emacs mode string to be displayed for both vi insert and command
+ mode strings. Report and fix from Steve Jones <sjml@slohj.org>
+
+ 7/28
+ ----
+lib/readline/display.c
+ - update_line: we can't use PROMPT_ENDING_INDEX unless we're testing
+ against _rl_last_c_pos; if we are testing buffer indices, we need to
+ use prompt_last_invisible directly. Fixes mode string redisplay issue
+ with short prompt strings reported by Steve Jones <sjml@slohj.org>
+
+ 8/4
+ ---
+nojobs.c
+ - without_job_control: new function, resets child state that's eventually
+ used to decide whether or not to wait_for children
+
+execute_cmd.c
+ - initialize_subshell: call without_job_control in both the JOB_CONTROL and
+ no job control paths so we can reset the state in subshells that will not
+ cause them to wait_for children inappropriately. Fixes bug reported by
+ Dan Cross <crossd@gmail.com>
+
+ 8/5
+ ---
+configure.ac
+ - release version is now `rc2'
+
+bashline.c
+ - command_word_completion_function: if direxpand is set, make sure to
+ run hint_text through bash_directory_completion_hook, since
+ readline will do that and we want to be able to match the results
+ readline returns. Fixes bug reported by Pat Somaru
+ <tuf18542@temple.edu>
+
+command.h
+ - W_COMPLETE: new flag word value
+ - PF_COMPLETE: new flags value for param_expand
+
+subst.h
+ - SX_STRIPDQ: new flag, used for string_extract_double_quoted
+
+bashline.c
+ - bash_filename_stat_hook,bash_directory_completion_hook: pass W_COMPLETE
+ flag to expand_prompt_string
+
+subst.c
+ - expand_word_internal: if W_COMPLETE in word->flags, pass PF_COMPLETE
+ to param_expand
+ - param_expand: if PF_COMPLETE in pflags, pass SX_COMPLETE to
+ extract_command_subst. This allows `"$(echo ~/' to perform
+ completion successfully
+ - string_extract_double_quoted: turn third argument into a flags arg,
+ old STRIPDQ is now set if flags&SX_STRIPDQ
+ - string_extract_double_quoted: changed callers, if third argument was
+ 1, pass SX_STRIPDQ instead
+ - expand_word_internal: if W_COMPLETE in word->flags, pass SX_COMPLETE
+ in flags to string_extract_double_quoted for case '"'
+ - string_extract_double_quoted: if SX_COMPLETE in flags, pass it to
+ extract_command_subst
+ - expand_word_internal: if W_COMPLETE in word->flags, make sure W_COMPLETE
+ is in temp word passed to recursive call to expand_word_internal to
+ expand double-quoted string. Fixes bug reported by John Passaro
+ <john.a.passaro@gmail.com>
+