From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: mmap visited files? Date: Thu, 21 Feb 2002 16:46:13 -0500 Message-ID: References: <20020218004118.700.qmail@brouhaha.com> <200202192130.g1JLUHS13061@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014328171 30722 195.204.10.66 (21 Feb 2002 21:49:31 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 21 Feb 2002 21:49:31 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16e15n-0007zQ-00 for ; Thu, 21 Feb 2002 22:49:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16e14W-0002Fe-00; Thu, 21 Feb 2002 16:48:12 -0500 Original-Received: from 209-6-22-64.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.22.64] helo=raeburn.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16e13z-0002F1-00 for ; Thu, 21 Feb 2002 16:47:39 -0500 Original-Received: from kal-el.raeburn.org (mail@kal-el.raeburn.org [18.101.0.230]) by raeburn.org (8.11.3/8.11.3) with ESMTP id g1LLkEZ19336; Thu, 21 Feb 2002 16:46:14 -0500 (EST) Original-Received: from raeburn by kal-el.raeburn.org with local (Exim 3.33 #1 (Debian)) id 16e12c-0003HZ-00; Thu, 21 Feb 2002 16:46:14 -0500 Original-To: wolfgang+gnus20020217T203020@dailyplanet.wsrcc.com, emacs-devel@gnu.org In-Reply-To: <200202192130.g1JLUHS13061@aztec.santafe.edu> (Richard Stallman's message of "Tue, 19 Feb 2002 14:30:17 -0700 (MST)") Original-Lines: 6 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1403 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1403 There's a risk with using mmap: If the file is truncated for some reason, the mapped pages may no longer be useable, and references to them may crash the program. (I investigated this a little while I was working on binutils.) Perhaps that wouldn't happen often, but deleting autosave files to gain a little bit of space on a nearly-full file system does happen.... _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel