]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-backup_history.patch
- official patches
[packages/bash.git] / bash-backup_history.patch
index 02fcd4eed4a7babb3a8ea84c109c62d7d2a46244..643620c7fa6ca3aef30125eaa9a001e124aed5bd 100644 (file)
  
  /* 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;
This page took 0.041545 seconds and 4 git commands to generate.