bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7784: executable-find does not find scripts on woe32


From: Sam Steingold
Subject: bug#7784: executable-find does not find scripts on woe32
Date: Tue, 4 Jan 2011 23:05:16 -0500

On Tue, Jan 4, 2011 at 8:18 PM, Óscar Fuentes <ofv@wanadoo.es> wrote:
> Sam Steingold <sds@gnu.org> writes:
>
>> (file-executable-p "c:/gnu/cygwin/bin/bzr")
>> ==> nil
>> which is wrong because bzr is an executable python script.
>
> As you know, there is no 'executable' attribute on Windows.

that's correct.
therefore the emacs code which calls stat() on the filename and checks
the mode is wrong.
check_executable() should return true for all arguments.



-- 
Sam Steingold <http://sds.podval.org>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]