commit bash-20090507 snapshot

This commit is contained in:
Chet Ramey
2011-12-08 20:09:16 -05:00
parent 414f1864e0
commit 12ae1612a6
9 changed files with 5175 additions and 4 deletions
+11 -1
View File
@@ -7898,7 +7898,7 @@ trap.c
pipeline_pgrp, and state of the pipeline around running the debug
trap, then remove any job created by running the debug trap from
the jobs table when it completes. Fixes for two bugs reported
by lex@upc.ca
by lex@upc.ua
4/12
----
@@ -8054,6 +8054,7 @@ lib/readline/display.c
locale or not, or whether there are invisible chars in the prompt)
- in _rl_move_cursor_relative, go ahead and adjust dpos if
prompt_physical_chars >= _rl_screenwidth (previous check was just > )
Fixes bug reported by Andreas Schwab <schwab@linux-m68k.org>
4/28
----
@@ -8062,3 +8063,12 @@ lib/glob/glob.c
currect directory to the dirlist and GX_NULLDIR is set -- we can just
ignore it, since the passed directory name (".") was created by
the caller. Fixes bug reported by Matt Zyzik <matt.zyzik@nyu.edu>
5/5
---
subst.c
- make expansion of $@ and $* when set -u is in effect and there are
no positional parameters be a non-fatal error. This is the
consensus of the austin group, though it is not historical practice.
Message from Geoff Clare <20090505091501.GA10097@squonk.masqnet> of
5 May 2009 to austin-group list
+29 -1
View File
@@ -7898,7 +7898,7 @@ trap.c
pipeline_pgrp, and state of the pipeline around running the debug
trap, then remove any job created by running the debug trap from
the jobs table when it completes. Fixes for two bugs reported
by lex@upc.ca
by lex@upc.ua
4/12
----
@@ -8043,3 +8043,31 @@ lib/sh/{mbscasecmp.c,Makefile.in}
externs.h
- extern declaration for mbscasecmp
4/25
----
lib/readline/display.c
- in _rl_move_cursor_relative, don't adjust dpos by woff if it's
already less than woff (don't want it less than 0)
- in _rl_move_cursor_relative, short-circuit right away if the cursor
is at columns 0 and `new' is 0 (doesn't matter if it's a multibyte
locale or not, or whether there are invisible chars in the prompt)
- in _rl_move_cursor_relative, go ahead and adjust dpos if
prompt_physical_chars >= _rl_screenwidth (previous check was just > )
4/28
----
lib/glob/glob.c
- in glob_vector, don't add an empty pathname ("") if we're adding the
currect directory to the dirlist and GX_NULLDIR is set -- we can just
ignore it, since the passed directory name (".") was created by
the caller. Fixes bug reported by Matt Zyzik <matt.zyzik@nyu.edu>
5/5
---
subst.c
- make expansion of $@ and $* when set -u is in effect and there are
no positional parameters be a non-fatal error. This is the
consensus of the austin group, though it is not historical practice.
Message from Geoff Clare <20090505091501.GA10097@squonk.masqnet> of
5 May 2009 to austin-group list
+2
View File
@@ -483,6 +483,8 @@ po/es.gmo f
po/es.po f
po/et.gmo f
po/et.po f
po/fi.gmo f
po/fi.po f
po/fr.gmo f
po/fr.po f
po/hu.gmo f
+1
View File
@@ -394,6 +394,7 @@ lib/sh/input_avail.c f
lib/sh/itos.c f
lib/sh/mailstat.c f
lib/sh/makepath.c f
lib/sh/mbscasecmp.c f
lib/sh/mbschr.c f
lib/sh/mbscmp.c f
lib/sh/memset.c f
+1 -1
View File
@@ -1,2 +1,2 @@
# Set of available languages.
en@quot en@boldquot af bg ca cs de eo es et fr hu id ja lt nl pl pt_BR ro ru sk sv tr vi zh_TW
en@quot en@boldquot af bg ca cs de eo es et fi fr hu id ja lt nl pl pt_BR ro ru sk sv tr vi zh_TW
+2
View File
@@ -0,0 +1,2 @@
# Set of available languages.
en@quot en@boldquot af bg ca cs de eo es et fr hu id ja lt nl pl pt_BR ro ru sk sv tr vi zh_TW
+5108
View File
File diff suppressed because it is too large Load Diff
+20
View File
@@ -7016,6 +7016,15 @@ param_expand (string, sindex, quoted, expanded_something,
case '*': /* `$*' */
list = list_rest_of_args ();
#if 0
/* According to austin-group posix proposal by Geoff Clare in
<20090505091501.GA10097@squonk.masqnet> of 5 May 2009:
"The shell shall write a message to standard error and
immediately exit when it tries to expand an unset parameter
other than the '@' and '*' special parameters."
*/
if (list == 0 && unbound_vars_is_error && (pflags & PF_IGNUNBOUND) == 0)
{
uerror[0] = '$';
@@ -7025,6 +7034,7 @@ param_expand (string, sindex, quoted, expanded_something,
err_unboundvar (uerror);
return (interactive_shell ? &expand_wdesc_error : &expand_wdesc_fatal);
}
#endif
/* If there are no command-line arguments, this should just
disappear if there are other characters in the expansion,
@@ -7078,6 +7088,15 @@ param_expand (string, sindex, quoted, expanded_something,
case '@': /* `$@' */
list = list_rest_of_args ();
#if 0
/* According to austin-group posix proposal by Geoff Clare in
<20090505091501.GA10097@squonk.masqnet> of 5 May 2009:
"The shell shall write a message to standard error and
immediately exit when it tries to expand an unset parameter
other than the '@' and '*' special parameters."
*/
if (list == 0 && unbound_vars_is_error && (pflags & PF_IGNUNBOUND) == 0)
{
uerror[0] = '$';
@@ -7087,6 +7106,7 @@ param_expand (string, sindex, quoted, expanded_something,
err_unboundvar (uerror);
return (interactive_shell ? &expand_wdesc_error : &expand_wdesc_fatal);
}
#endif
/* We want to flag the fact that we saw this. We can't turn
off quoting entirely, because other characters in the
+1 -1
View File
@@ -1,4 +1,4 @@
LC_COLLATE=C
export LC_COLLATE=C
#
# test the shell globbing
#