[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file sizes shown incorrectly for large files under Windows
From: |
Eli Zaretskii |
Subject: |
Re: file sizes shown incorrectly for large files under Windows |
Date: |
Fri, 14 Nov 2003 09:12:23 +0200 |
> From: Chris Moore <address@hidden>
> Date: Fri, 14 Nov 2003 00:32:17 +0100
>
> I see a lot of references to st_size in fileio.c which I have done
> nothing about. That code is just as broken now as it was before,
> however. I just tried visiting a file of size 4Gb+1:
It isn't worth your while worrying about that now, since Emacs doesn't
support visiting files larger than what EMACS_INT can handle. Since
the Windows definition of EMACS_INT is based on 32-bit integers, the
2GB limit is good eanough.
> In the Emacs I build after applying my patch it warns me:
> "File 4g-plus-1 is large (4096.000000953674MB), really open (y or n)"
> (do we really need such precision?).
We don't need such a precision, I'd say truncate it to an integral
value (and avoid round-off while at that).
- Re: file sizes shown incorrectly for large files under Windows, (continued)
- Re: file sizes shown incorrectly for large files under Windows, Chris Moore, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Eli Zaretskii, 2003/11/14
- Re: file sizes shown incorrectly for large files under Windows, Eli Zaretskii, 2003/11/14
- Re: file sizes shown incorrectly for large files under Windows, Jason Rumney, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Eli Zaretskii, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Jason Rumney, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Eli Zaretskii, 2003/11/14
- Re: file sizes shown incorrectly for large files under Windows, Chris Moore, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Chris Moore, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows, Stefan Monnier, 2003/11/13
- Re: file sizes shown incorrectly for large files under Windows,
Eli Zaretskii <=
- Re: file sizes shown incorrectly for large files under Windows, Eli Zaretskii, 2003/11/13