GNU bug report logs - #12917
24.3.50; file-executable-p return value incorrect for directories on Windows

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Sat, 17 Nov 2012 19:24:01 UTC

Severity: normal

Merged with 12983

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12917 in the body.
You can then email your comments to 12917 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12917; Package emacs. (Sat, 17 Nov 2012 19:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Richard Copley <rcopley <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 17 Nov 2012 19:24:02 GMT) Full text and rfc822 format available.

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

From: Richard Copley <rcopley <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50;
	file-executable-p return value incorrect for directories on Windows
Date: Sat, 17 Nov 2012 19:22:41 +0000
On the trunk, `file-executable-p' now seems to return nil for (all?)
accessible directories. For instance, this makes most "vc-" commands fail.
This happens with Windows XP and Windows 7.

For a recipe from `emacs -Q' see the recent input and recent messages
sections below.

In GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601)
 of 2012-11-17 on MACHINE
Bzr revision: 110920 rgm <at> gnu.org-20121117112058-gmycra5a7i3zkvac
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.7) --cflags -I c:/gnuwin32/include --ldflags
 -L c:/gnuwin32/lib'

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-: ( f i l e - e x e c u t a b l e - p SPC " ~ " ) <return>
M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
nil




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 17 Nov 2012 19:30:02 GMT) Full text and rfc822 format available.

Notification sent to Richard Copley <rcopley <at> gmail.com>:
bug acknowledged by developer. (Sat, 17 Nov 2012 19:30:02 GMT) Full text and rfc822 format available.

Message #10 received at 12917-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 12917-done <at> debbugs.gnu.org
Subject: Re: bug#12917: 24.3.50;
	file-executable-p return value incorrect for directories on Windows
Date: Sat, 17 Nov 2012 21:27:37 +0200
> Date: Sat, 17 Nov 2012 19:22:41 +0000
> From: Richard Copley <rcopley <at> gmail.com>
> 
> On the trunk, `file-executable-p' now seems to return nil for (all?)
> accessible directories. For instance, this makes most "vc-" commands fail.
> This happens with Windows XP and Windows 7.

Thanks.

I found this problem independently 2.5 hours ago and fixed it in
revision 110923.  (It is always recommended to try sync'ing with the
repository before reporting a bug.)

Closing the bug report.




Forcibly Merged 12917 12983. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 24 Nov 2012 22:42:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Dec 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 182 days ago.

Previous Next


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