>>>> "Konstantin" == Konstantin Malakhanov
<km(a)isoware.de> writes:
This problem is still present in
"XEmacs 21.2 (beta38) \"Peisino,Ak(B\" [Lucid] (i586-pc-win32) of
Fri Dec 08 2000 on ZJ75T"
test cases:
(file-attributes "d:\\Users\\AichnerAd\\")
nil
(file-attributes "d:\\Users\\AichnerAd")
(t 1 0 0 (14896 50939) (14896 50863) (14564 37795) 0 "drwxrwxrwx" nil 0 3)
(file-attributes "d:/Users/AichnerAd/")
nil
(file-attributes "d:/Users/AichnerAd")
(t 1 0 0 (14896 50939) (14896 50863) (14564 37795) 0 "drwxrwxrwx" nil 0 3)
It keeps me from using Gnus and therefor from testing 21.2 betas very
much.
Is anybody interested in fixing this together with me?
Best regards,
Adrian
Konstantin> I use precompiled XEmacs version
Konstantin> XEmacs 21.2 (beta35) "Nike" [Lucid] (i586-pc-win32) of Fri
Sep 08
Konstantin> 2000 on NEVERYON
Konstantin> The defun file-attributes doesn't work with directory names ending
Konstantin> with double backslash, i.e:
Konstantin> (file-attributes "c:\\programme\\")
Konstantin> nil
Konstantin> (file-attributes "c:\\programme")
Konstantin> (t 1 0 0 (14785 4701) (14785 4701) (14488 58112) 0
"drwxrwxrwx" nil 0 2)
Konstantin> or, open any file not directly under drive (with directory in path)
Konstantin> and evaluate in buffer:
Konstantin> (file-attributes default-directory)
Konstantin> It gives nil too.
Konstantin> It works both way with drive-only paths:
Konstantin> (file-attributes "c:\\")
Konstantin> (t 1 0 0 (4814 38896) (4814 38896) (4814 38896) 0
"drwxrwxrwx" nil 0 2)
Konstantin> (file-attributes "c:")
Konstantin> (t 1 0 0 (4814 38896) (4814 38896) (4814 38896) 0
"drwxrwxrwx" nil 0 2)
Konstantin> Bug or feature?! Workarounds?
Konstantin> TIA.
Konstantin> --
Konstantin> Konstantin Malakhanov
Konstantin> ISOWARE GmbH, Feithstr. 142, 58097 Hagen, Germany
Konstantin> email: km(a)isoware.de Tel: 02331/8019-67 FAX: 02331/8019-99
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/