diff options
author | Chet Ramey <chet.ramey@case.edu> | 2014-08-11 11:05:02 -0400 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2014-08-11 11:05:02 -0400 |
commit | a73b98f779b388a5d0624e02e8bb187246e3e396 (patch) | |
tree | e0b25ec50268a57262495dc8d9adbf9968a6123d | |
parent | 5c7bd1170a79620cde6ac37ba756896c5d008d7f (diff) | |
download | readline-a73b98f779b388a5d0624e02e8bb187246e3e396.tar.gz |
Readline-6.3 patch 8
-rw-r--r-- | misc.c | 2 | ||||
-rw-r--r-- | patchlevel | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 (); } @@ -1,3 +1,3 @@ # Do not edit -- exists only for use by patch -7 +8 |