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: Andrew Pinski <pinskia at gmail dot com>
- Cc: chet dot ramey at case dot edu, gdb-patches at sourceware dot org
- Date: Sun, 28 Dec 2014 05:38:09 +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> <CA+=Sn1=G8PSmQtGmVmtOqxYvB+Gt_WUOxOE0v1=vyWx3keZcHQ at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 27 Dec 2014 14:00:45 -0800
> From: Andrew Pinski <pinskia@gmail.com>
> Cc: Chet Ramey <chet.ramey@case.edu>,
> "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
>
> On Sat, Dec 27, 2014 at 11:13 AM, Eli Zaretskii <eliz@gnu.org> 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.
> >
> > Suggested patch is below.
>
> Has this gone upstream to readline? Maybe it should go upstream first.
That's why I CC'ed Chet.