GNU bug report logs - #2413
file-directory-p reports incorrect value for ftp root files

Previous Next

Package: emacs;

Reported by: Gabe Black <Gabe.Black <at> ni.com>

Date: Fri, 20 Feb 2009 19:15:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Gabe Black <Gabe.Black <at> ni.com>
Cc: 2413 <at> debbugs.gnu.org
Subject: bug#2413: file-directory-p reports incorrect value for ftp root files
Date: Tue, 24 Feb 2009 12:56:34 -0500
> I have a file on a ftp location 10.0.42.141 called ph_exec.  In emacs 
> 22.2.1 this code works correctly.
>
> (setq ange-ftp-dumb-unix-host-regexp ".*")
> (file-directory-p "/anonymous <at> 10.0.42.141:/ph_exec.exe")
>
> however in 22.3.1 it does not work and incorrectly reports ph_exec as 
> being a directory

I was unable to log in to 10.0.42.141 to reproduce this bug.  However,

  (file-directory-p "/anonymous <at> ftp.kernel.org:/pub/README")

works properly (i.e., it returns nil).  I recently fixed a bug in
ange-ftp.el which may be related to this, so could you check whether the
problem persists with latest CVS?




This bug report was last modified 13 years and 323 days ago.

Previous Next


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