]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.3 patch 21
authorChet Ramey <chet.ramey@case.edu>
Fri, 1 Aug 2014 19:31:01 +0000 (15:31 -0400)
committerChet Ramey <chet.ramey@case.edu>
Fri, 1 Aug 2014 19:31:01 +0000 (15:31 -0400)
lib/readline/misc.c
patchlevel.h

index da5c6964763609b2f33932b9b66a5507365a611a..a890cdadf9a32c87ffe3a33491a6ee4677bf3ea8 100644 (file)
@@ -461,6 +461,7 @@ _rl_revert_all_lines ()
            saved_undo_list = 0;
          /* Set up rl_line_buffer and other variables from history entry */
          rl_replace_from_history (entry, 0);   /* entry->line is now current */
+         entry->data = 0;                      /* entry->data is now current undo list */
          /* Undo all changes to this history entry */
          while (rl_undo_list)
            rl_do_undo ();
@@ -468,7 +469,6 @@ _rl_revert_all_lines ()
             the timestamp. */
          FREE (entry->line);
          entry->line = savestring (rl_line_buffer);
-         entry->data = 0;
        }
       entry = previous_history ();
     }
index 6b5f365e32a2223a430070d32d1fab2de89de7d8..bc7f5f80962d5050cafd10a7263ae2f0e0912e7f 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 20
+#define PATCHLEVEL 21
 
 #endif /* _PATCHLEVEL_H_ */