From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10733: 24.0.93; w32 file truncation Date: Mon, 06 Feb 2012 21:24:04 +0100 Message-ID: <87fwend82j.fsf@gnus.org> References: <83vcnjc1yj.fsf@gnu.org> <87r4y74zew.fsf@wanadoo.es> <83sjinbyez.fsf@gnu.org> <20120206.121953.215407921.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328559925 31931 80.91.229.3 (6 Feb 2012 20:25:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 20:25:25 +0000 (UTC) Cc: ofv@wanadoo.es, lekktu@gmail.com, 10733@debbugs.gnu.org To: "Ota\, Takaaki" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 21:25:23 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 1RuV7q-00069u-AI for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 21:25:22 +0100 Original-Received: from localhost ([::1]:35275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV7p-0002xV-Pm for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 15:25:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV7i-0002sr-Sj for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 15:25:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuV7e-0005Dr-IB for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 15:25:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV7e-0005Dl-Ac for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 15:25:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuV8T-0007X2-PP for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 15:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2012 20:26:01 +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.132855991828902 (code B ref 10733); Mon, 06 Feb 2012 20:26:01 +0000 Original-Received: (at 10733) by debbugs.gnu.org; 6 Feb 2012 20:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:57582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuV7i-0007W4-KV for submit@debbugs.gnu.org; Mon, 06 Feb 2012 15:25:18 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:56249) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuV7d-0007Vq-1f for 10733@debbugs.gnu.org; Mon, 06 Feb 2012 15:25:13 -0500 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RuV6c-0007SL-Sd; Mon, 06 Feb 2012 21:24:07 +0100 In-Reply-To: <20120206.121953.215407921.Takaaki.Ota@am.sony.com> (Takaaki Ota's message of "Mon, 6 Feb 2012 12:19:53 -0800") User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) X-MailScanner-ID: 1RuV6c-0007SL-Sd MailScanner-NULL-Check: 1329164647.31507@AJBXTtid6ZrVy9/awwUrzg 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:56587 Archived-At: "Ota, Takaaki" 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