all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: 7784@debbugs.gnu.org
Subject: bug#7784: executable-find does not find scripts on woe32
Date: Tue, 4 Jan 2011 23:05:16 -0500	[thread overview]
Message-ID: <AANLkTim7Tu6tAP_+SkuD9_s27UnAz+0-6A2XYRw+A98B@mail.gmail.com> (raw)
In-Reply-To: <878vz0173n.fsf@telefonica.net>

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	other threads:[~2011-01-05  4:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 23:44 bug#7784: executable-find does not find scripts on woe32 Sam Steingold
2011-01-05  1:18 ` Óscar Fuentes
2011-01-05  4:05   ` Sam Steingold [this message]
2011-01-05 11:26     ` Eli Zaretskii
2011-01-05 14:24       ` Óscar Fuentes
2011-01-05 16:25         ` Eli Zaretskii
2011-01-05 23:13           ` Jason Rumney
2011-01-05 14:40       ` Sam Steingold
2011-01-05 16:24         ` Eli Zaretskii
2011-01-05 11:30   ` Eli Zaretskii
2011-01-05  7:14 ` Jason Rumney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim7Tu6tAP_+SkuD9_s27UnAz+0-6A2XYRw+A98B@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=7784@debbugs.gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.