emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-attributes returns wrong info on Windows


From: Eli Zaretskii
Subject: Re: file-attributes returns wrong info on Windows
Date: Mon, 17 Jul 2006 06:34:06 +0300

> Date: Sat, 15 Jul 2006 16:17:20 -0500
> From: Chris Britton <address@hidden>
> 
>     ;; emacs 21.3
>     (file-attributes "D:/Work/emacs/README")
>     (nil 1 5 5 (17592 29654) (17448 58611) (17592 29654) 5171 "-rw-rw-rw-" 
> nil 0 (16460 . 2902))
> 
> Here is the result of evaluating the function on the same file in
> emacs 22 (cvs head revisions as of 14-July).
> 
>     ;; emacs 22
>     (file-attributes "D:/Work/emacs/README")
>     (nil 1 5 5 (17592 29653) (17448 58610) (17592 29654) 5171 "-rw-rw-rw-" 
> nil -25401 (16460 . 2902))
> 
> Note that the last access time, modification time, and inode number
> are different.

How do you know which one of these is wrong?  What does DIR say about
that file's times?

> I get the same result whether I build under MinGW or Cygwin.

??? Do you really mean Cygwin?  That one uses an entirely different
implementation of the file I/O functions (such as `stat') invoked by
file-attributes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]