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


Message #59 received at 10733 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: ofv <at> wanadoo.es, lekktu <at> gmail.com, Takaaki.Ota <at> am.sony.com,
	10733 <at> debbugs.gnu.org
Subject: Re: bug#10733: 24.0.93; w32 file truncation
Date: Mon, 06 Feb 2012 23:31:12 +0200
> From: Lennart Borgman <lennart.borgman <at> gmail.com>
> Date: Mon, 6 Feb 2012 22:20:31 +0100
> Cc: Takaaki.Ota <at> am.sony.com, ofv <at> wanadoo.es, lekktu <at> gmail.com, 
> 	10733 <at> debbugs.gnu.org
> 
> What worries me is the bypassing of MSVCRT.

Why?  What do you think `stat' in MSVCRT does?  (You can find the
sources on the Internet.)  It calls some of the same Win32 APIs, and
then fills `struct stat'.  There''s nothing magic about that, and
nothing to be afraid of.

> I think that perhaps it is better to reimplement on top of that.

You can't.  To get the missing information you must go to lower-level
APIs.




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.