mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 23:53:18 +02:00
commit bash-20070719 snapshot
This commit is contained in:
@@ -578,7 +578,7 @@ _rl_read_mbstring (first, mb, mlen)
|
||||
|
||||
c = first;
|
||||
memset (mb, 0, mlen);
|
||||
for (i = 0; c > 0 && i < mlen; i++)
|
||||
for (i = 0; c >= 0 && i < mlen; i++)
|
||||
{
|
||||
mb[i] = (char)c;
|
||||
memset (&ps, 0, sizeof (mbstate_t));
|
||||
|
||||
@@ -163,8 +163,6 @@ int allow_null_glob_expansion;
|
||||
/* Non-zero means to throw an error when globbing fails to match anything. */
|
||||
int fail_glob_expansion;
|
||||
|
||||
int assigining_in_environment;
|
||||
|
||||
#if 0
|
||||
/* Variables to keep track of which words in an expanded word list (the
|
||||
output of expand_word_list_internal) are the result of globbing
|
||||
|
||||
+3
-3
@@ -1861,10 +1861,10 @@ make_variable_value (var, value, flags)
|
||||
}
|
||||
rval = evalexp (value, &expok);
|
||||
if (expok == 0)
|
||||
{
|
||||
top_level_cleanup ();
|
||||
{
|
||||
top_level_cleanup ();
|
||||
jump_to_top_level (DISCARD);
|
||||
}
|
||||
}
|
||||
if (flags & ASS_APPEND)
|
||||
rval += lval;
|
||||
retval = itos (rval);
|
||||
|
||||
Reference in New Issue
Block a user