This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: File-name completer marks all files as executable on MS-Windows
- From: Pedro Alves <palves at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>, chet dot ramey at case dot edu
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Dec 2014 18:59:48 +0000
- Subject: Re: File-name completer marks all files as executable on MS-Windows
- Authentication-results: sourceware.org; auth=none
- References: <83egrklxde dot fsf at gnu dot org> <54A17585 dot 5010900 at case dot edu> <83bnmmjuio dot fsf at gnu dot org>
On 12/29/2014 04:22 PM, Eli Zaretskii wrote:
>> Date: Mon, 29 Dec 2014 10:38:45 -0500
>> From: Chet Ramey <chet.ramey@case.edu>
>> CC: chet.ramey@case.edu, gdb-patches@sourceware.org
>>
>> On 12/27/14 2:13 PM, Eli Zaretskii wrote:
>>> I discovered that completing on file names in GDB on MS-Windows marks
>>> every file as executable. This is because Readline uses 'access' and
>>> X_OK to determine that, which doesn't work on Windows.
>>
>> Ugh, really? Thanks for the patch.
>
> Thanks for reviewing it.
>
> Joel, Pedro, others: can I now commit this to the GDB repository?
> Branch too?
Fine with me.
Thanks,
Pedro Alves