commit bash-20080221 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:19:15 -05:00
parent 57a071246a
commit 35ee8ea050
30 changed files with 1090 additions and 74 deletions
+2 -2
View File
@@ -641,10 +641,10 @@ _rl_backspace (count)
int
rl_crlf ()
{
#if defined (NEW_TTY_DRIVER)
#if defined (NEW_TTY_DRIVER) || defined (__MINT__)
if (_rl_term_cr)
tputs (_rl_term_cr, 1, _rl_output_character_function);
#endif /* NEW_TTY_DRIVER */
#endif /* NEW_TTY_DRIVER || __MINT__ */
putc ('\n', _rl_out_stream);
return 0;
}
+2 -2
View File
@@ -361,13 +361,13 @@ rl_resize_terminal ()
}
struct _tc_string {
const char *tc_var;
const char * const tc_var;
char **tc_value;
};
/* This should be kept sorted, just in case we decide to change the
search algorithm to something smarter. */
static struct _tc_string tc_strings[] =
static const struct _tc_string tc_strings[] =
{
{ "@7", &_rl_term_at7 },
{ "DC", &_rl_term_DC },