From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10733: 24.0.93; w32 file truncation Date: Mon, 06 Feb 2012 23:31:12 +0200 Message-ID: <83liofbqe7.fsf@gnu.org> References: <83vcnjc1yj.fsf@gnu.org> <87r4y74zew.fsf@wanadoo.es> <83sjinbyez.fsf@gnu.org> <20120206.121953.215407921.Takaaki.Ota@am.sony.com> <83obtbbrak.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1328563941 31269 80.91.229.3 (6 Feb 2012 21:32:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 21:32:21 +0000 (UTC) Cc: ofv@wanadoo.es, lekktu@gmail.com, Takaaki.Ota@am.sony.com, 10733@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 22:32:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuWAa-00076W-3m for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 22:32:16 +0100 Original-Received: from localhost ([::1]:35888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuWAZ-0005g0-99 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 16:32:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuWAW-0005fb-D3 for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 16:32:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuWAU-0001nW-Po for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 16:32:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuWAU-0001nM-GJ for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 16:32:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuWBK-0000h0-6v for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 16:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2012 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10733 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10733-submit@debbugs.gnu.org id=B10733.13285639632634 (code B ref 10733); Mon, 06 Feb 2012 21:33:02 +0000 Original-Received: (at 10733) by debbugs.gnu.org; 6 Feb 2012 21:32:43 +0000 Original-Received: from localhost ([127.0.0.1]:57705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuWB0-0000gR-JL for submit@debbugs.gnu.org; Mon, 06 Feb 2012 16:32:42 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46123) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuWAx-0000gE-UX for 10733@debbugs.gnu.org; Mon, 06 Feb 2012 16:32:40 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LYZ00100QE1IG00@a-mtaout21.012.net.il> for 10733@debbugs.gnu.org; Mon, 06 Feb 2012 23:31:10 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.162.243]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYZ001UHQFWFT50@a-mtaout21.012.net.il>; Mon, 06 Feb 2012 23:31:10 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56600 Archived-At: > From: Lennart Borgman > Date: Mon, 6 Feb 2012 22:20:31 +0100 > Cc: Takaaki.Ota@am.sony.com, ofv@wanadoo.es, lekktu@gmail.com, > 10733@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.