File-name completer marks all files as executable on MS-Windows

Eli Zaretskii eliz@gnu.org
Sun Dec 28 03:38:00 GMT 2014


> 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.



More information about the Gdb-patches mailing list