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.

83 lines
2.7 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/readline/readline43-002.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Official patches from ftp://ftp.gnu.org/pub/gnu/readline/readline-4.3-patches/.
  20. READLINE PATCH REPORT
  21. =====================
  22. Readline-Release: 4.3
  23. Patch-ID: readline43-001
  24. Bug-Reported-by: Thierry Vignaud <tvignaud@mandrakesoft.com>
  25. Bug-Reference-ID: <m2wurdqvo0.fsf@vador.mandrakesoft.com> (bug-readline)
  26. Bug-Reference-URL:
  27. Bug-Description:
  28. Pressing certain key sequences causes an infinite loop in _rl_dispatch_subseq
  29. with the `key' argument set to 256. This eventually causes bash to exceed
  30. the stack size limit and crash with a segmentation violation.
  31. Patch:
  32. *** ./bind.c Thu Jan 24 11:15:52 2002
  33. --- ./bind.c Wed Jul 31 09:11:18 2002
  34. ***************
  35. *** 312,316 ****
  36. and the function bound to `a' to be executed when the user
  37. types `abx', leaving `bx' in the input queue. */
  38. ! if (k.function /* && k.type == ISFUNC */)
  39. {
  40. map[ANYOTHERKEY] = k;
  41. --- 312,316 ----
  42. and the function bound to `a' to be executed when the user
  43. types `abx', leaving `bx' in the input queue. */
  44. ! if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
  45. {
  46. map[ANYOTHERKEY] = k;
  47. READLINE PATCH REPORT
  48. =====================
  49. Readline-Release: 4.3
  50. Patch-ID: readline43-002
  51. Bug-Reported-by: rwhron@earthlink.net
  52. Bug-Reference-ID: <20020724000454.GA15210@rushmore> (bug-bash)
  53. Bug-Reference-URL: http://mail.gnu.org/pipermail/bug-bash/2002-July/004856.html
  54. Bug-Description:
  55. Repeating an edit in vi-mode with `.' does not work.
  56. Patch:
  57. *** ./readline.c Wed Mar 13 17:10:46 2002
  58. --- ./readline.c Tue Jul 30 17:46:44 2002
  59. ***************
  60. *** 685,688 ****
  61. --- 685,689 ----
  62. #if defined (VI_MODE)
  63. if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
  64. + key != ANYOTHERKEY &&
  65. _rl_vi_textmod_command (key))
  66. _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);