NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/54510 (libedit: filename completion broken in quote/double quaote)
The following reply was made to PR lib/54510; it has been noted by GNATS.
From: Tom Lane <tgl%sss.pgh.pa.us@localhost>
To: Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
Cc: NetBSD GNATS <gnats-bugs%netbsd.org@localhost>,
Abhinav Upadhyay <abhinav%netbsd.org@localhost>,
Rin Okuyama <rokuyama.rk%gmail.com@localhost>
Subject: Re: lib/54510 (libedit: filename completion broken in quote/double quaote)
Date: Sat, 04 Jan 2020 14:06:13 -0500
Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost> writes:
> On Sat, Jan 4, 2020 at 6:41 AM Tom Lane <tgl%sss.pgh.pa.us@localhost> wrote:
>> Given the precedent of other nearby behaviors, maybe the right
>> fix is to skip the unescaping when attempted_completion_function
>> is non-NULL. I haven't tried to code that though.
> Can you verify if this patch fixes the problem?
I think you have the check backwards: this
+ if (!do_unescape) {
should be
+ if (do_unescape) {
With that correction, it seems to work for me.
regards, tom lane
Home |
Main Index |
Thread Index |
Old Index