slackware-current/source/l/readline/readline-8.1-patches/readline81-001
Patrick J Volkerding e89deabfb2 Wed May 5 19:56:53 UTC 2021
a/bash-5.1.008-x86_64-1.txz:  Upgraded.
d/python-setuptools-56.1.0-x86_64-1.txz:  Upgraded.
l/libgnt-2.14.1-x86_64-1.txz:  Added.
  Thanks to Robby Workman.
l/mozjs78-78.10.1esr-x86_64-1.txz:  Upgraded.
l/python-six-1.16.0-x86_64-1.txz:  Upgraded.
l/readline-8.1.001-x86_64-1.txz:  Upgraded.
n/mutt-2.0.7-x86_64-1.txz:  Upgraded.
n/php-7.4.19-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-88.0.1-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/88.0.1/releasenotes/
    https://www.mozilla.org/security/advisories/mfsa2021-20/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29953
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29952
  (* Security fix *)
xap/mozilla-thunderbird-78.10.1-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/78.10.1/releasenotes/
    https://www.mozilla.org/en-US/security/advisories/mfsa2021-19/
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29951
  (* Security fix *)
xap/pidgin-2.14.4-x86_64-2.txz:  Rebuilt.
  Recompiled against libgnt-2.14.1 to restore the finch cli app.
  Thanks to Robby Workman.
xfce/xfce4-clipman-plugin-1.6.2-x86_64-1.txz:  Upgraded.
extra/php8/php8-8.0.6-x86_64-1.txz:  Upgraded.
2021-05-06 08:59:52 +02:00

92 lines
2.4 KiB
Text

READLINE PATCH REPORT
=====================
Readline-Release: 8.1
Patch-ID: readline81-001
Bug-Reported-by: Tom Tromey <tom@tromey.com>
Bug-Reference-ID: <875z3u9fd0.fsf@tromey.com>
Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2021-01/msg00009.html
Bug-Description:
The code to check readline versions in an inputrc file had the sense of the
comparisons reversed.
Patch (apply with `patch -p0'):
*** ../readline-8.1-patched/bind.c 2020-10-26 10:03:14.000000000 -0400
--- bind.c 2021-01-18 16:38:48.000000000 -0500
***************
*** 1235,1239 ****
else if (_rl_strnicmp (args, "version", 7) == 0)
{
! int rlversion, versionarg, op, previ, major, minor;
_rl_parsing_conditionalized_out = 1;
--- 1235,1239 ----
else if (_rl_strnicmp (args, "version", 7) == 0)
{
! int rlversion, versionarg, op, previ, major, minor, opresult;
_rl_parsing_conditionalized_out = 1;
***************
*** 1295,1316 ****
{
case OP_EQ:
! _rl_parsing_conditionalized_out = rlversion == versionarg;
break;
case OP_NE:
! _rl_parsing_conditionalized_out = rlversion != versionarg;
break;
case OP_GT:
! _rl_parsing_conditionalized_out = rlversion > versionarg;
break;
case OP_GE:
! _rl_parsing_conditionalized_out = rlversion >= versionarg;
break;
case OP_LT:
! _rl_parsing_conditionalized_out = rlversion < versionarg;
break;
case OP_LE:
! _rl_parsing_conditionalized_out = rlversion <= versionarg;
break;
}
}
/* Check to see if the first word in ARGS is the same as the
--- 1295,1317 ----
{
case OP_EQ:
! opresult = rlversion == versionarg;
break;
case OP_NE:
! opresult = rlversion != versionarg;
break;
case OP_GT:
! opresult = rlversion > versionarg;
break;
case OP_GE:
! opresult = rlversion >= versionarg;
break;
case OP_LT:
! opresult = rlversion < versionarg;
break;
case OP_LE:
! opresult = rlversion <= versionarg;
break;
}
+ _rl_parsing_conditionalized_out = 1 - opresult;
}
/* Check to see if the first word in ARGS is the same as the
*** ../readline-8.1/patchlevel 2013-11-15 08:11:11.000000000 -0500
--- patchlevel 2014-03-21 08:28:40.000000000 -0400
***************
*** 1,3 ****
# Do not edit -- exists only for use by patch
! 0
--- 1,3 ----
# Do not edit -- exists only for use by patch
! 1