GNU bug report logs - #7784
executable-find does not find scripts on woe32

Previous Next

Package: emacs;

Reported by: Sam Steingold <sds <at> gnu.org>

Date: Tue, 4 Jan 2011 23:38:02 UTC

Severity: wishlist

Merged with 36270

Full log


Message #11 received at 7784 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 7784 <at> debbugs.gnu.org
Subject: Re: 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 <at> wanadoo.es> wrote:
> Sam Steingold <sds <at> 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>




This bug report was last modified 5 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.