mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-09 19:50:32 +02:00
commit bash-20060413 snapshot
This commit is contained in:
@@ -13293,3 +13293,46 @@ Makefile.in,lib/sh/Makefile.in
|
||||
|
||||
subst.c
|
||||
- wcsdup now found in libsh; removed static definition
|
||||
|
||||
4/10
|
||||
----
|
||||
lib/readline/callback.c
|
||||
- loop over body of rl_callback_read_char as long as there is additional
|
||||
input rather than just calling readline_internal_char, which does
|
||||
not handle multi-character key sequences or escape-prefixed chars
|
||||
|
||||
lib/readline/macro.c
|
||||
- make sure we turn off RL_STATE_MACROINPUT when the macro stack is
|
||||
empty if we are reading additional input with RL_STATE_MOREINPUT
|
||||
|
||||
support/shobj-conf
|
||||
- Mac OS X no longer likes the `-bundle' option to gcc when creating a
|
||||
dynamic shared library
|
||||
|
||||
4/11
|
||||
----
|
||||
lib/tilde/tilde.c
|
||||
- don't try to dereference user_entry if HAVE_GETPWENT isn't defined
|
||||
|
||||
lib/readline/input.c
|
||||
- make sure chars_avail is not used without being assigned a value in
|
||||
rl_gather_tyi
|
||||
- use _kbhit() to check for available input on Windows consoles, in
|
||||
rl_gather_tyi and _rl_input_available
|
||||
|
||||
4/21
|
||||
----
|
||||
lib/readline/display.c
|
||||
- calculate (in expand_prompt) and keep track of length of local_prompt
|
||||
in local_prompt_len; use where appropriate
|
||||
- when using o_pos to check whether or not we need to adjust
|
||||
_rl_last_c_pos after calling update_line, assume that it's correct
|
||||
(a buffer index in non-multibyte locales and a cursor position in
|
||||
multibyte locales) and adjust with wrap_offset as appropriate
|
||||
- in update_line, set cpos_adjusted to 1 after calling
|
||||
_rl_move_cursor_relative to move to the end of the displayed prompt
|
||||
string
|
||||
- in _rl_move_cursor_relative, check that the multibyte display
|
||||
position is after the last invisible character in the prompt string
|
||||
before offsetting it by the number of invisible characters in the
|
||||
prompt (woff)
|
||||
|
||||
@@ -13235,3 +13235,93 @@ lib/readline/histfile.c
|
||||
execute_cmd.c
|
||||
- add new variable, line_number_for_err_trap, currently set but not
|
||||
used
|
||||
|
||||
4/2
|
||||
---
|
||||
lib/sh/strtrans.c
|
||||
- add code to echo -e and echo with xpg_echo enabled to require
|
||||
a leading 0 to specify octal constants
|
||||
|
||||
4/3
|
||||
---
|
||||
subst.c
|
||||
- slight change to wcsdup() replacement: use memcpy instead of wcscpy
|
||||
|
||||
parse.y
|
||||
- before turning on W_COMPASSIGN, make sure the final character in the
|
||||
token is a `(' (avoids problems with things like a=(4*3)/2)
|
||||
|
||||
4/4
|
||||
---
|
||||
lib/sh/snprintf.c
|
||||
- in number() and lnumber(), turn off PF_ZEROPAD if explicit precision
|
||||
supplied in format
|
||||
- change number() and lnumber() to correctly implement zero-padding
|
||||
specified by a non-zero `.precision' part of the format
|
||||
|
||||
subst.c
|
||||
- new flag for extract_delimited_string: EX_COMMAND. For $(...), so
|
||||
we can do things like skip over delimiters in comments. Added to
|
||||
appropriate callers
|
||||
- changes to extract_delimited_string to skip over shell comments when
|
||||
extracting a command for $(...) (EX_COMMAND is contained in the
|
||||
flags argument)
|
||||
|
||||
4/5
|
||||
---
|
||||
subst.c
|
||||
- first argument to skip_single_quoted is now a const char *
|
||||
- new function, chk_arithsub, checks for valid arithmetic expressions
|
||||
by balancing parentheses. Fix based on a patch from Len Lattanzi
|
||||
|
||||
4/6
|
||||
---
|
||||
{configure,config.h}.in
|
||||
- add separate test for isnan in libc, instead of piggybacking on
|
||||
isinf-in-libc test
|
||||
|
||||
lib/sh/snprintf.c
|
||||
- separate the isnan replacement function so it's guarded by its own
|
||||
HAVE_ISNAN_IN_LIBC define
|
||||
|
||||
lib/sh/wcsdup.c
|
||||
- new file, contains replacement wcsdup library function from subst.c
|
||||
with change back to using wcscpy
|
||||
|
||||
Makefile.in,lib/sh/Makefile.in
|
||||
- make sure wcsdup.c is compiled and linked in
|
||||
|
||||
subst.c
|
||||
- wcsdup now found in libsh; removed static definition
|
||||
|
||||
4/10
|
||||
----
|
||||
lib/readline/callback.c
|
||||
- loop over body of rl_callback_read_char as long as there is additional
|
||||
input rather than just calling readline_internal_char, which does
|
||||
not handle multi-character key sequences or escape-prefixed chars
|
||||
|
||||
lib/readline/macro.c
|
||||
- make sure we turn off RL_STATE_MACROINPUT when the macro stack is
|
||||
empty if we are reading additional input with RL_STATE_MOREINPUT
|
||||
|
||||
support/shobj-conf
|
||||
- Mac OS X no longer likes the `-bundle' option to gcc when creating a
|
||||
dynamic shared library
|
||||
|
||||
4/11
|
||||
----
|
||||
lib/tilde/tilde.c
|
||||
- don't try to dereference user_entry if HAVE_GETPWENT isn't defined
|
||||
|
||||
lib/readline/input.c
|
||||
- make sure chars_avail is not used without being assigned a value in
|
||||
rl_gather_tyi
|
||||
- use _kbhit() to check for available input on Windows consoles, in
|
||||
rl_gather_tyi and _rl_input_available
|
||||
|
||||
4/21
|
||||
----
|
||||
lib/readline/display.c
|
||||
- calculate (in expand_prompt) and keep track of length of local_prompt
|
||||
in local_prompt_len; use where appropriate
|
||||
|
||||
Reference in New Issue
Block a user