From d31b5a6af4a968be7486adf6157f5335beebdcff Mon Sep 17 00:00:00 2001 From: hawk Date: Tue, 20 Sep 2005 17:25:19 +0000 Subject: [PATCH] - updated for bash 3.0 Changed files: bash-backup_history.patch -> 1.3 --- bash-backup_history.patch | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/bash-backup_history.patch b/bash-backup_history.patch index 02fcd4e..643620c 100644 --- a/bash-backup_history.patch +++ b/bash-backup_history.patch @@ -18,17 +18,15 @@ /* Is the history expansion starting at string[i] one that should not be expanded? */ -@@ -511,6 +515,10 @@ +@@ -530,6 +534,8 @@ HIST_ENTRY *temp; int r; ++ backup_add_history(line); + -+ backup_add_history(line); -+ -+ - switch (history_control) - { - case 0: /* nothing */ + if (history_control == 0) + return 1; + @@ -766,4 +774,34 @@ return match; -- 2.44.0