bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix a problem `rl_bind_key' cannot create shadow binding for


From: Chet Ramey
Subject: Re: [PATCH] Fix a problem `rl_bind_key' cannot create shadow binding for `C-@'
Date: Wed, 15 Jan 2020 10:23:44 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

On 12/18/19 11:43 AM, Koichi Murase wrote:

Bash Version: 5.0
Patch Level: 11
Release Status: maint

Description:

   One of the public interface of readline, the function
   `rl_bind_key (key, function)' does not work with key = 0 (C-@) when
   there are already bindings of keyseqs starting from "\C-@".
   This is because when `rl_bind_key' calls `rl_generic_bind',
   it fails to construct an appropriate untranslated keyseq for "\C-@".

Thanks for the report and patches. I think your leak patches are correct.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]