From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9800: Incomplete truncated file buffers from the /proc filesystem Date: Thu, 03 Nov 2011 21:32:07 +0100 Message-ID: References: <877h40vb8h.fsf@mail.jurta.org> <4EA4D31B.4050604@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320352366 8653 80.91.229.12 (3 Nov 2011 20:32:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 20:32:46 +0000 (UTC) Cc: 9800@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 21:32:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RM3xm-0003Ur-Nl for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Nov 2011 21:32:38 +0100 Original-Received: from localhost ([::1]:59361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM3xl-0008OB-TJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Nov 2011 16:32:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM3xi-0008M7-Hy for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 16:32:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM3xg-0007zd-VA for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 16:32:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM3xg-0007zZ-QT for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 16:32:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RM406-0002fF-89 for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2011 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2011 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9800-submit@debbugs.gnu.org id=B9800.132035249810224 (code B ref 9800); Thu, 03 Nov 2011 20:35:02 +0000 Original-Received: (at 9800) by debbugs.gnu.org; 3 Nov 2011 20:34:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RM3zz-0002eo-Oj for submit@debbugs.gnu.org; Thu, 03 Nov 2011 16:34:57 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RM3zu-0002eU-Qu for 9800@debbugs.gnu.org; Thu, 03 Nov 2011 16:34:53 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RM3xO-0003gU-E3; Thu, 03 Nov 2011 21:32:14 +0100 In-Reply-To: <4EA4D31B.4050604@cs.ucla.edu> (Paul Eggert's message of "Sun, 23 Oct 2011 19:53:15 -0700") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-Now-Playing: Kissing the Pink's _Naked_: "Broken Body" X-MailScanner-ID: 1RM3xO-0003gU-E3 MailScanner-NULL-Check: 1320957134.48966@6wI8bV8ANOkyPtjKhdqK1g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 03 Nov 2011 16:35:02 -0400 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:53479 Archived-At: Paul Eggert writes: > It strikes me that regular files can go as you read them, too, > and that Emacs is not doing this properly. That is, Emacs should > be fixed so that it continues to read from a growing regular file > until a proper EOF is reached (i.e., until read returns 0). Sounds like a good idea, but remember to bail out some time before reading the infinitely big files to the very end. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/