You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.7 KiB

  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 5.0
  4. Patch-ID: bash50-014
  5. Bug-Reported-by: Johannes Hielscher <jhielscher@posteo.de>
  6. Bug-Reference-ID: <20190208205048.77c25a83@hordevm>
  7. Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-02/msg00032.html
  8. Bug-Description:
  9. If the current line is empty, using the emacs C-xC-e binding to enter the
  10. editor will edit the previous command instead of the current (empty) one.
  11. Patch (apply with `patch -p0'):
  12. *** a/bashline.c 2019-01-16 16:13:21.000000000 -0500
  13. --- b/bashline.c 2019-02-11 11:18:57.000000000 -0500
  14. ***************
  15. *** 962,970 ****
  16. finished with the command, so we should not ignore the last command */
  17. using_history ();
  18. ! if (rl_line_buffer[0])
  19. ! {
  20. ! current_command_line_count++; /* for rl_newline above */
  21. ! bash_add_history (rl_line_buffer);
  22. ! }
  23. current_command_line_count = 0; /* for dummy history entry */
  24. bash_add_history ("");
  25. --- 965,970 ----
  26. finished with the command, so we should not ignore the last command */
  27. using_history ();
  28. ! current_command_line_count++; /* for rl_newline above */
  29. ! bash_add_history (rl_line_buffer);
  30. current_command_line_count = 0; /* for dummy history entry */
  31. bash_add_history ("");
  32. *** a/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  33. --- b/patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  34. ***************
  35. *** 26,30 ****
  36. looks for to find the patch level (for the sccs version string). */
  37. ! #define PATCHLEVEL 13
  38. #endif /* _PATCHLEVEL_H_ */
  39. --- 26,30 ----
  40. looks for to find the patch level (for the sccs version string). */
  41. ! #define PATCHLEVEL 14
  42. #endif /* _PATCHLEVEL_H_ */