bash32-028 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-028
  5. Bug-Reported-by: dAniel hAhler <ubuntu@thequod.de>
  6. Bug-Reference-ID:
  7. Bug-Reference-URL:
  8. Bug-Description:
  9. Under some circumstances, readline will incorrectly display a prompt string
  10. containing invisible characters after the final newline.
  11. Patch:
  12. *** bash-3.2-patched/lib/readline/display.c 2007-08-25 13:47:08.000000000 -0400
  13. --- bash-3.2/lib/readline/display.c 2007-11-10 17:51:29.000000000 -0500
  14. ***************
  15. *** 392,396 ****
  16. local_prompt = expand_prompt (p, &prompt_visible_length,
  17. &prompt_last_invisible,
  18. ! (int *)NULL,
  19. &prompt_physical_chars);
  20. c = *t; *t = '\0';
  21. --- 420,424 ----
  22. local_prompt = expand_prompt (p, &prompt_visible_length,
  23. &prompt_last_invisible,
  24. ! &prompt_invis_chars_first_line,
  25. &prompt_physical_chars);
  26. c = *t; *t = '\0';
  27. ***************
  28. *** 399,403 ****
  29. local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
  30. (int *)NULL,
  31. ! &prompt_invis_chars_first_line,
  32. (int *)NULL);
  33. *t = c;
  34. --- 427,431 ----
  35. local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length,
  36. (int *)NULL,
  37. ! (int *)NULL,
  38. (int *)NULL);
  39. *t = c;
  40. *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  41. --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
  42. ***************
  43. *** 26,30 ****
  44. looks for to find the patch level (for the sccs version string). */
  45. ! #define PATCHLEVEL 27
  46. #endif /* _PATCHLEVEL_H_ */
  47. --- 26,30 ----
  48. looks for to find the patch level (for the sccs version string). */
  49. ! #define PATCHLEVEL 28
  50. #endif /* _PATCHLEVEL_H_ */