From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bug in filelock.c Date: Sat, 23 Feb 2013 22:23:42 +0200 Message-ID: <83txp2kcdt.fsf@gnu.org> References: <83zjyukfxe.fsf@gnu.org> <51291AFF.2000602@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361651057 23297 80.91.229.3 (23 Feb 2013 20:24:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 20:24:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 23 21:24:39 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9Le1-0006oq-JA for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2013 21:24:29 +0100 Original-Received: from localhost ([::1]:60291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Ldg-00084v-WE for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2013 15:24:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Ldb-00082O-4o for emacs-devel@gnu.org; Sat, 23 Feb 2013 15:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9LdU-00059f-N4 for emacs-devel@gnu.org; Sat, 23 Feb 2013 15:24:03 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9LdU-00059b-El for emacs-devel@gnu.org; Sat, 23 Feb 2013 15:23:56 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MIO00E00WJ02900@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 23 Feb 2013 22:23:55 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIO00DTOWNUU6A0@a-mtaout23.012.net.il>; Sat, 23 Feb 2013 22:23:55 +0200 (IST) In-reply-to: <51291AFF.2000602@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157281 Archived-At: > Date: Sat, 23 Feb 2013 11:39:43 -0800 > From: Paul Eggert > Cc: emacs-devel@gnu.org > > On 02/23/2013 11:07 AM, Eli Zaretskii wrote: > > Am I missing something? > > No, it looks like a clear bug. Thanks for catching it! It's actually Emacs who caught it, by crashing ;-) I just debugged it. > Since the code has obviously never worked and evidently > never been needed and slows Emacs down with unnecessary > syscalls, I propose that we remove it, as follows: If we don't care overwriting files like .#foo (and it looks like we don't, since no one complained about that), then I agree.