Fix executable indicator in file name completion on Windows.
authorEli Zaretskii <eliz@gnu.org>
Tue, 30 Dec 2014 19:14:25 +0000 (21:14 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 30 Dec 2014 19:14:25 +0000 (21:14 +0200)
commit05942d8a1b618e1c850b67ad76374f8c59743df5
tree3b7b694a82d3890f6a336a6094c2a18085b92608
parent1a667e98b749cc82920f2cfd25d07139e5e03136
Fix executable indicator in file name completion on Windows.

* complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on
Windows, they don't work.  Instead, look at the file-name
extension to determine whether the file is executable.
readline/ChangeLog.gdb
readline/complete.c