mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 20:30:52 +02:00
commit bash-20050804 snapshot
This commit is contained in:
+4
-2
@@ -1819,7 +1819,7 @@ make_variable_value (var, value, flags)
|
||||
{
|
||||
if (flags & ASS_APPEND)
|
||||
{
|
||||
oval = value_cell (var);
|
||||
oval = get_variable_value (var);
|
||||
if (oval == 0) /* paranoia */
|
||||
oval = "";
|
||||
olen = STRLEN (oval);
|
||||
@@ -3937,6 +3937,7 @@ sv_histsize (name)
|
||||
{
|
||||
char *temp;
|
||||
intmax_t num;
|
||||
int hmax;
|
||||
|
||||
temp = get_string_value (name);
|
||||
|
||||
@@ -3946,7 +3947,8 @@ sv_histsize (name)
|
||||
{
|
||||
if (name[4] == 'S')
|
||||
{
|
||||
stifle_history (num);
|
||||
hmax = num;
|
||||
stifle_history (hmax);
|
||||
num = where_history ();
|
||||
if (history_lines_this_session > num)
|
||||
history_lines_this_session = num;
|
||||
|
||||
Reference in New Issue
Block a user