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

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

file-attributes returns wrong info on Windows


From: Chris Britton
Subject: file-attributes returns wrong info on Windows
Date: Sat, 15 Jul 2006 16:17:20 -0500

I recently upgraded from emacs-21.3 to emacs-22.  The file-attributes
function appears to return some incorrect values.  Here is the result
of evaluating the function running under emacs 21.3.

    ;; 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.  I get the same result whether I build under MinGW or
Cygwin.  I first noticed the problem because a "VC Directory Listing"
was reporting that all my sources had been modified.

Let me know if I can provide more info.

Thanks.


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2006-07-15 on JAVACAT
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags 
-Id:/local/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  show-paren-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Loading vm-crypto...done
Retrieving message 1 (of 1) from address@hidden
Added to d:/britton/Mail/inbox
Got mail from address@hidden
Loading vm-undo...done
Loading vm-virtual...done
19 messages, 1 new, 2 unread, 0 deleted
Updating of BBDB records finished
19 messages, 1 new, 2 unread, 0 deleted
Loading emacsbug...done

-- 
Chris Britton
address@hidden




reply via email to

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