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

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

bug#10733: 24.0.93; w32 file truncation


From: Lars Ingebrigtsen
Subject: bug#10733: 24.0.93; w32 file truncation
Date: Mon, 06 Feb 2012 21:24:04 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

"Ota, Takaaki" <Takaaki.Ota@am.sony.com> writes:

> where "memo" is the NTFS symlink and "memo.old" is a real file.  I
> don't know how the size 0 on symlink side is translated into 64K.

If Emacs doesn't know the size of the file (i.e., the fs says that the
file is 0 bytes long), then Emacs will only read the first 64K of the
file.  This was discussed in the bug report about how /proc files are
truncated by Emacs.

The fix proposed there (i.e., "read until you get to eof") would
probably fix this, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome





reply via email to

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