SOURCES: bash-backup_history.patch - updated for bash 3.0

hawk hawk at pld-linux.org
Tue Sep 20 19:25:25 CEST 2005


Author: hawk                         Date: Tue Sep 20 17:25:24 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for bash 3.0

---- Files affected:
SOURCES:
   bash-backup_history.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/bash-backup_history.patch
diff -u SOURCES/bash-backup_history.patch:1.2 SOURCES/bash-backup_history.patch:1.3
--- SOURCES/bash-backup_history.patch:1.2	Sun Jul 28 18:57:46 2002
+++ SOURCES/bash-backup_history.patch	Tue Sep 20 19:25:19 2005
@@ -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;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/bash-backup_history.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list