mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 10:42:28 +02:00
commit bash-20140110 snapshot
This commit is contained in:
@@ -5582,3 +5582,97 @@ externs.h
|
||||
|
||||
configure.ac
|
||||
- bash version moved to 4.3-rc2
|
||||
|
||||
1/6
|
||||
---
|
||||
doc/bash.1,lib/readline/doc/{rluser.texi,readline.3}
|
||||
- separate the description of what happens when readline reads the
|
||||
tty EOF character from the description of delete-char, leaving a
|
||||
note in the delete-char description about common binding for ^D.
|
||||
From suggestion by Parke <parke.nexus@gmail.com>
|
||||
|
||||
lib/readline/doc/{version.texi,history.3,*.texi}
|
||||
- updated email addresses and copyright dates
|
||||
|
||||
1/7
|
||||
---
|
||||
variables.c
|
||||
- delete_var: new function, just removes a variable from a hash table
|
||||
and frees it, without doing anything else
|
||||
- make_variable_value: if we are trying to assign to a nameref variable,
|
||||
return NULL if the value is null or the empty string or not a valid
|
||||
identifier
|
||||
|
||||
variables.h
|
||||
- delete_var: new extern declaration
|
||||
|
||||
subst.h
|
||||
- ASS_NAMEREF: new define for assignments, means assigning to a nameref
|
||||
variable
|
||||
|
||||
builtins/declare.def
|
||||
- declare_internal: if we are creating and assigning to a nameref
|
||||
variable, make sure the value is a valid variable name (checks done
|
||||
by make_variable_value via bind_variable_value) and display an
|
||||
error message, deleting the variable we just created, if it is not.
|
||||
Fixes bug reported by Peggy Russell <prusselltechgroup@gmail.com>
|
||||
|
||||
1/9
|
||||
---
|
||||
builtins/declare.def
|
||||
- declare_internal: turning on nameref attribute for an existing
|
||||
variable turns off -i/-l/-u/-c attributes (essentially the ones
|
||||
that cause evaluation at assignment time) for ksh93 compat
|
||||
|
||||
builtins/setattr.def
|
||||
- show_name_attributes: if asked to display attributes and values for
|
||||
a nameref variable, don't follow the nameref chain to the end. More
|
||||
ksh93 compat
|
||||
|
||||
1/10
|
||||
----
|
||||
trap.c
|
||||
- _run_trap_internal: use {save,restore}_parser_state instead of
|
||||
{save,restore}_token_state, like in run_pending_traps(); don't
|
||||
need to save and restore last_command_exit_value as a result
|
||||
- _run_trap_internal: call {save,restore}_pipeline like in
|
||||
run_pending_traps()
|
||||
- run_pending_traps: since we no longer run traps in a signal handler
|
||||
context, do not block and unblock the trapped signal while the
|
||||
trap is executing
|
||||
- run_pending_traps: allow recursive invocations (basically, running
|
||||
traps from a trap handler) with only a warning if the shell is
|
||||
compiled in debug mode. If a caller doesn't want this to happen,
|
||||
it should test running_trap > 0. signal_in_progress (sig) only works
|
||||
for the signals the shell handles specially
|
||||
|
||||
bashline.c
|
||||
- bash_event_hook: make sure we clean up readline if interrupt_state
|
||||
is set, not only when SIGINT is not trapped. check_signals_and_traps
|
||||
will call check_signals, which calls QUIT, which will longjmp back
|
||||
to top_level, running the interrupt trap along the way. Fixes the
|
||||
problem of signal handlers being reset out from under readline, and
|
||||
not being set properly the next time readline is called, because
|
||||
signals_set_flag is still set to 1. XXX - might need to do this
|
||||
for other signals too?
|
||||
|
||||
1/11
|
||||
----
|
||||
subst.h
|
||||
- SD_GLOB: new define for skip_to_delim; means we are scanning a
|
||||
glob pattern.
|
||||
|
||||
subst.c
|
||||
- skip_to_delim: if flags include SD_GLOB, assume we are scanning a
|
||||
glob pattern. Currently only used to skip bracket expressions
|
||||
which may contain one of the delimiters
|
||||
|
||||
1/12
|
||||
----
|
||||
subst.c
|
||||
- parameter_brace_expand: when expanding $@ as part of substring
|
||||
expansion, pattern substitution, or case modification, don't turn
|
||||
on the QUOTED_NULL flag. The code that constructs the word to be
|
||||
returned from expand_word_internal expects a different code path
|
||||
when $@ is being expanded. Fixes bug reported by Theodoros
|
||||
V. Kalamatianos <thkala@gmail.com>
|
||||
|
||||
+5677
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user