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.

86 lines
2.8 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. Official patches from ftp://ftp.gnu.org/pub/gnu/readline/readline-4.3-patches/.
  23. READLINE PATCH REPORT
  24. =====================
  25. Readline-Release: 4.3
  26. Patch-ID: readline43-001
  27. Bug-Reported-by: Thierry Vignaud <tvignaud@mandrakesoft.com>
  28. Bug-Reference-ID: <m2wurdqvo0.fsf@vador.mandrakesoft.com> (bug-readline)
  29. Bug-Reference-URL:
  30. Bug-Description:
  31. Pressing certain key sequences causes an infinite loop in _rl_dispatch_subseq
  32. with the `key' argument set to 256. This eventually causes bash to exceed
  33. the stack size limit and crash with a segmentation violation.
  34. Patch:
  35. *** ./bind.c Thu Jan 24 11:15:52 2002
  36. --- ./bind.c Wed Jul 31 09:11:18 2002
  37. ***************
  38. *** 312,316 ****
  39. and the function bound to `a' to be executed when the user
  40. types `abx', leaving `bx' in the input queue. */
  41. ! if (k.function /* && k.type == ISFUNC */)
  42. {
  43. map[ANYOTHERKEY] = k;
  44. --- 312,316 ----
  45. and the function bound to `a' to be executed when the user
  46. types `abx', leaving `bx' in the input queue. */
  47. ! if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
  48. {
  49. map[ANYOTHERKEY] = k;
  50. READLINE PATCH REPORT
  51. =====================
  52. Readline-Release: 4.3
  53. Patch-ID: readline43-002
  54. Bug-Reported-by: rwhron@earthlink.net
  55. Bug-Reference-ID: <20020724000454.GA15210@rushmore> (bug-bash)
  56. Bug-Reference-URL: http://mail.gnu.org/pipermail/bug-bash/2002-July/004856.html
  57. Bug-Description:
  58. Repeating an edit in vi-mode with `.' does not work.
  59. Patch:
  60. *** ./readline.c Wed Mar 13 17:10:46 2002
  61. --- ./readline.c Tue Jul 30 17:46:44 2002
  62. ***************
  63. *** 685,688 ****
  64. --- 685,689 ----
  65. #if defined (VI_MODE)
  66. if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
  67. + key != ANYOTHERKEY &&
  68. _rl_vi_textmod_command (key))
  69. _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);