> Date: Thu, 26 Apr 2007 12:15:04 +0200 > From: "Maier, Harald" <[EMAIL PROTECTED]> > Cc: <help-emacs-windows@gnu.org> > > > Hallo Eli, > > what I wrote is wrong. The problem is the function "file-attributes" > in dired.c.
Of course, because directory_files_internal calls file-attributes to get the attributes, including size. > (file-attributes "c:/home/maierha/tmp/tmp.dat") > > (nil 1 5 5 (17968 29649) (17968 29649) (17968 29268) 4249180672.0 > "-rw-rw-rw-" nil -6212 9360833) > (nil 1 5 5 (17968 29652) (17968 29652) (17968 29268) 4283041792.0 > "-rw-rw-rw-" nil -6212 9360833) > (nil 1 5 5 (17968 29653) (17968 29653) (17968 29268) 1024 > "-rw-rw-rw-" nil -6212 9360833) Are the offending files larger than 4GB, by any chance? If so, this is expected: the emulation of `stat' we use simply doesn't support such large files, since the relevant field of the `stat' structure is 32-bit wide. To support such large files we will need to write stat64 and use 64-bit integers. I don't expect this to happen before v22.1 is released.