mirror of the now-defunct rocklinux.org
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.

45 lines
1.3 KiB

  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-006
  5. Bug-Reported-by: ebb9@byu.net
  6. Bug-Reference-ID: <45540862.9030900@byu.net>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html
  8. http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html
  9. Bug-Description:
  10. In some cases, code that is intended to be used in the presence of multibyte
  11. characters is called when no such characters are present, leading to incorrect
  12. display position calculations and incorrect redisplay.
  13. Patch:
  14. *** bash-3.2-patched/lib/readline/display.c Thu Sep 14 14:20:12 2006
  15. --- lib/readline/display.c Mon Nov 13 17:55:57 2006
  16. ***************
  17. *** 2381,2384 ****
  18. --- 2409,2414 ----
  19. if (end <= start)
  20. return 0;
  21. + if (MB_CUR_MAX == 1 || rl_byte_oriented)
  22. + return (end - start);
  23. memset (&ps, 0, sizeof (mbstate_t));
  24. *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  25. --- patchlevel.h Mon Oct 16 14:22:54 2006
  26. ***************
  27. *** 26,30 ****
  28. looks for to find the patch level (for the sccs version string). */
  29. ! #define PATCHLEVEL 5
  30. #endif /* _PATCHLEVEL_H_ */
  31. --- 26,30 ----
  32. looks for to find the patch level (for the sccs version string). */
  33. ! #define PATCHLEVEL 6
  34. #endif /* _PATCHLEVEL_H_ */