mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-28 16:09:51 +02:00
commit bash-20190201 snapshot
This commit is contained in:
@@ -5190,3 +5190,18 @@ pathexp.c
|
||||
a backslash that will trigger a call to shell_glob_filename, since
|
||||
backslashes at the end of patterns (pathname components) will always
|
||||
fail to match. XXX - this is provisional
|
||||
|
||||
lib/glob/glob.c
|
||||
- glob_filename: if we have a directory name that has no unquoted
|
||||
special glob chars, but has backslashes, just dequote it and return
|
||||
it without going through the rest of the glob expansions. Partial
|
||||
fix for issue with unreadable directories reported by
|
||||
Andrew Church <achurch+bash@achurch.org>
|
||||
|
||||
2/2
|
||||
---
|
||||
lib/readline/readline.c
|
||||
- readline_internal_teardown: if revert-all-at-newline is set, make
|
||||
sure that the history position is at the end of the history before
|
||||
calling _rl_revert_all_lines(). Fixes bug reported by
|
||||
johnlinp@gmail.com and frederik@ofb.net
|
||||
|
||||
@@ -64,10 +64,10 @@ INTERNAL_GLOB_PATTERN_P (pattern)
|
||||
{
|
||||
p++;
|
||||
bsquote = 1;
|
||||
continue;
|
||||
}
|
||||
else if (*p == L('\0'))
|
||||
else /* (*p == L('\0')) */
|
||||
return 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
return bsquote ? 2 : 0;
|
||||
|
||||
@@ -458,6 +458,7 @@ readline_internal_teardown (int eof)
|
||||
{
|
||||
char *temp;
|
||||
HIST_ENTRY *entry;
|
||||
int pos;
|
||||
|
||||
RL_CHECK_SIGNALS ();
|
||||
|
||||
@@ -477,7 +478,12 @@ readline_internal_teardown (int eof)
|
||||
}
|
||||
|
||||
if (_rl_revert_all_at_newline)
|
||||
_rl_revert_all_lines ();
|
||||
{
|
||||
pos = where_history ();
|
||||
using_history ();
|
||||
_rl_revert_all_lines ();
|
||||
history_set_pos (pos);
|
||||
}
|
||||
|
||||
/* At any rate, it is highly likely that this line has an undo list. Get
|
||||
rid of it now. */
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
||||
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||
THIS_SH=$BUILD_DIR/bash
|
||||
PATH=$PATH:$BUILD_DIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user