From unknown Fri Aug 15 21:23:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12917: 24.3.50; file-executable-p return value incorrect for directories on Windows Resent-From: Richard Copley Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2012 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12917@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.13531802276732 (code B ref -1); Sat, 17 Nov 2012 19:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2012 19:23:47 +0000 Received: from localhost ([127.0.0.1]:51303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnzX-0001kW-3N for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:23:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49519) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnzV-0001kQ-RJ for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:23:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZnyb-0007c5-2x for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:22:52 -0500 Received: from lists.gnu.org ([208.118.235.17]:43628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnya-0007c1-VW for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:22:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnyX-0002lP-T7 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZnyU-0007a8-R4 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:45 -0500 Received: from mail-ob0-f169.google.com ([209.85.214.169]:62247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnyU-0007a1-Lz for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:42 -0500 Received: by mail-ob0-f169.google.com with SMTP id lz20so4281796obb.0 for ; Sat, 17 Nov 2012 11:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=t5qjqycRK3FpoWVqfmMElGgCvezeyZNbjgH6z9kmL40=; b=CKLYQmHlRRfrIvpVFS6+/E/s2zAa55GcnnUOpYf/vPMZ44Cp71AMVgSsSe/kfnhtIa wDxMPTZgGmbPFn1TJB5zD3Ex9+A9rFo7ujy41kZelj6WkhUMpXqBsQbLEVTISQKn1tZC MJIFkXmOgW4CcgwLHMNnB3wRHQ5Vh95cqYjMHA5gTLlLQWTWoUhOzh88dz91kUMc2em+ N3/kzHkFA/u3xXdTDi6diyePC9CpJFrYXsVs+UbnLWKFRJ6aei/eNwJUGNVQNlobnPuS 8PYZGJzta8oNayrZy269kt9FrcvGNuCzOi7q5LobI5m720PBlwmdezO9BDQnZAIlS1kb FdRQ== MIME-Version: 1.0 Received: by 10.182.162.4 with SMTP id xw4mr1180256obb.16.1353180162039; Sat, 17 Nov 2012 11:22:42 -0800 (PST) Received: by 10.182.43.34 with HTTP; Sat, 17 Nov 2012 11:22:41 -0800 (PST) Date: Sat, 17 Nov 2012 19:22:41 +0000 Message-ID: From: Richard Copley Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) 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@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 " ~ " ) M-x r e p o r t - e m a c s - b u g Recent messages: nil From unknown Fri Aug 15 21:23:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Richard Copley Subject: bug#12917: closed (Re: bug#12917: 24.3.50; file-executable-p return value incorrect for directories on Windows) Message-ID: References: <831ufs2fo6.fsf@gnu.org> X-Gnu-PR-Message: they-closed 12917 X-Gnu-PR-Package: emacs Reply-To: 12917@debbugs.gnu.org Date: Sat, 17 Nov 2012 19:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1353180603-7299-1" This is a multi-part message in MIME format... ------------=_1353180603-7299-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12917: 24.3.50; file-executable-p return value incorrect for directories o= n Windows which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12917@debbugs.gnu.org. --=20 12917: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12917 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1353180603-7299-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12917-done) by debbugs.gnu.org; 17 Nov 2012 19:29:02 +0000 Received: from localhost ([127.0.0.1]:51309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZo4c-0001sC-1S for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:29:02 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:33434) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZo4a-0001rn-20 for 12917-done@debbugs.gnu.org; Sat, 17 Nov 2012 14:29:01 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MDN00A00CKLSS00@a-mtaout23.012.net.il> for 12917-done@debbugs.gnu.org; Sat, 17 Nov 2012 21:28:05 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDN00AXXCQSFOF0@a-mtaout23.012.net.il>; Sat, 17 Nov 2012 21:28:04 +0200 (IST) Date: Sat, 17 Nov 2012 21:27:37 +0200 From: Eli Zaretskii Subject: Re: bug#12917: 24.3.50; file-executable-p return value incorrect for directories on Windows In-reply-to: X-012-Sender: halo1@inter.net.il To: Richard Copley Message-id: <831ufs2fo6.fsf@gnu.org> References: X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sat, 17 Nov 2012 19:22:41 +0000 > From: Richard Copley > > 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. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.175 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12917-done Cc: 12917-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Sat, 17 Nov 2012 19:22:41 +0000 > From: Richard Copley > > 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. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.175 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4998] > Date: Sat, 17 Nov 2012 19:22:41 +0000 > From: Richard Copley > > 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. ------------=_1353180603-7299-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Nov 2012 19:23:47 +0000 Received: from localhost ([127.0.0.1]:51303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnzX-0001kW-3N for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:23:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49519) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnzV-0001kQ-RJ for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:23:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZnyb-0007c5-2x for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:22:52 -0500 Received: from lists.gnu.org ([208.118.235.17]:43628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnya-0007c1-VW for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:22:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnyX-0002lP-T7 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZnyU-0007a8-R4 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:45 -0500 Received: from mail-ob0-f169.google.com ([209.85.214.169]:62247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnyU-0007a1-Lz for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:22:42 -0500 Received: by mail-ob0-f169.google.com with SMTP id lz20so4281796obb.0 for ; Sat, 17 Nov 2012 11:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=t5qjqycRK3FpoWVqfmMElGgCvezeyZNbjgH6z9kmL40=; b=CKLYQmHlRRfrIvpVFS6+/E/s2zAa55GcnnUOpYf/vPMZ44Cp71AMVgSsSe/kfnhtIa wDxMPTZgGmbPFn1TJB5zD3Ex9+A9rFo7ujy41kZelj6WkhUMpXqBsQbLEVTISQKn1tZC MJIFkXmOgW4CcgwLHMNnB3wRHQ5Vh95cqYjMHA5gTLlLQWTWoUhOzh88dz91kUMc2em+ N3/kzHkFA/u3xXdTDi6diyePC9CpJFrYXsVs+UbnLWKFRJ6aei/eNwJUGNVQNlobnPuS 8PYZGJzta8oNayrZy269kt9FrcvGNuCzOi7q5LobI5m720PBlwmdezO9BDQnZAIlS1kb FdRQ== MIME-Version: 1.0 Received: by 10.182.162.4 with SMTP id xw4mr1180256obb.16.1353180162039; Sat, 17 Nov 2012 11:22:42 -0800 (PST) Received: by 10.182.43.34 with HTTP; Sat, 17 Nov 2012 11:22:41 -0800 (PST) Date: Sat, 17 Nov 2012 19:22:41 +0000 Message-ID: Subject: 24.3.50; file-executable-p return value incorrect for directories on Windows From: Richard Copley To: "bug-gnu-emacs@gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) 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@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 " ~ " ) M-x r e p o r t - e m a c s - b u g Recent messages: nil ------------=_1353180603-7299-1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 24 17:41:50 2012 Received: (at control) by debbugs.gnu.org; 24 Nov 2012 22:41:50 +0000 Received: from localhost ([127.0.0.1]:37065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcOQ1-0000Ez-Lp for submit@debbugs.gnu.org; Sat, 24 Nov 2012 17:41:50 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36249) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcOPy-0000Eq-Tl for control@debbugs.gnu.org; Sat, 24 Nov 2012 17:41:47 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TcOOS-00019A-NU for control@debbugs.gnu.org; Sat, 24 Nov 2012 17:40:12 -0500 Date: Sat, 24 Nov 2012 17:40:12 -0500 Message-Id: Subject: control message for bug 12983 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) forcemerge 12917 12983