GNU bug report logs - #10733
24.0.93; w32 file truncation

Previous Next

Package: emacs;

Reported by: "Ota, Takaaki" <Takaaki.Ota <at> am.sony.com>

Date: Sun, 5 Feb 2012 22:36:02 UTC

Severity: normal

Found in version 24.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Ota\, Takaaki" <Takaaki.Ota <at> am.sony.com>
Cc: ofv <at> wanadoo.es, lekktu <at> gmail.com, eliz <at> gnu.org, 10733 <at> debbugs.gnu.org
Subject: bug#10733: 24.0.93; w32 file truncation
Date: Mon, 06 Feb 2012 21:24:04 +0100
"Ota, Takaaki" <Takaaki.Ota <at> 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




This bug report was last modified 12 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.