mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 17:39:56 +02:00
commit bash-20080228 snapshot
This commit is contained in:
@@ -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
@@ -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 \-
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user