commit bash-20080228 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:19:33 -05:00
parent 35ee8ea050
commit e882163b50
4 changed files with 1046 additions and 4 deletions
+7
View File
@@ -15315,3 +15315,10 @@ builtins/shopt.def
execute_cmd.c
- in execute_cond_node, restore bash-3.1 behavior of quoted rhs of
regexp matches if shell_compatibility_level == 31
2/28
----
lib/readline/rltty.c
- set readline_echoing_p = 1 if tcgetattr fails and sets errno to
EINVAL, as Linux does when the fd is a pipe. Reported by Mike
Frysinger <vapier@gentoo.org>
+1 -1
View File
@@ -1188,7 +1188,7 @@ expand to nothing (i.e., they are removed).
Expands to the number of positional parameters in decimal.
.TP
.B ?
Expands to the status of the most recently executed foreground
Expands to the exit status of the most recently executed foreground
pipeline.
.TP
.B \-
+4 -3
View File
@@ -670,10 +670,11 @@ rl_prep_terminal (meta_flag)
if (get_tty_settings (tty, &tio) < 0)
{
#if defined (ENOTSUP)
/* MacOS X, at least, lies about the value of errno if tcgetattr fails. */
if (errno == ENOTTY || errno == ENOTSUP)
/* MacOS X and Linux, at least, lie about the value of errno if
tcgetattr fails. */
if (errno == ENOTTY || errno == EINVAL || errno == ENOTSUP)
#else
if (errno == ENOTTY)
if (errno == ENOTTY || errno == EINVAL)
#endif
readline_echoing_p = 1; /* XXX */
release_sigint ();
File diff suppressed because it is too large Load Diff