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: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: chet dot ramey at case dot edu, gdb-patches at sourceware dot org
- Date: Tue, 30 Dec 2014 21:30:08 +0200
- 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> <54A1A4A4 dot 2070600 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 29 Dec 2014 18:59:48 +0000
> From: Pedro Alves <palves@redhat.com>
> CC: gdb-patches@sourceware.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, done.