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#22795: 25.0.91; Can't write read only file on w32 Date: Sat, 14 May 2016 12:17:03 +0300 Message-ID: <83wpmx6ltc.fsf@gnu.org> References: <83bn6z8i9t.fsf@gnu.org> <20160229.112815.255467998.Takaaki.Ota@am.sony.com> <83a8mj8enk.fsf@gnu.org> <20160229.133436.92017905.Takaaki.Ota@am.sony.com> <83oaay6u4o.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1463217510 14483 80.91.229.3 (14 May 2016 09:18:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 May 2016 09:18:30 +0000 (UTC) Cc: 22795@debbugs.gnu.org To: Takaaki.Ota@am.sony.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 14 11:18:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b1Vi8-0003di-Lg for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 May 2016 11:18:12 +0200 Original-Received: from localhost ([::1]:37151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Vi7-0004d1-Tt for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 May 2016 05:18:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Vi4-0004ZR-LH for bug-gnu-emacs@gnu.org; Sat, 14 May 2016 05:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1Vhy-0001Sq-Pg for bug-gnu-emacs@gnu.org; Sat, 14 May 2016 05:18:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Vhy-0001Sm-Nf for bug-gnu-emacs@gnu.org; Sat, 14 May 2016 05:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1Vhy-0004td-GR for bug-gnu-emacs@gnu.org; Sat, 14 May 2016 05:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 May 2016 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22795-submit@debbugs.gnu.org id=B22795.146321742318744 (code B ref 22795); Sat, 14 May 2016 09:18:02 +0000 Original-Received: (at 22795) by debbugs.gnu.org; 14 May 2016 09:17:03 +0000 Original-Received: from localhost ([127.0.0.1]:50436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1Vh0-0004sF-NC for submit@debbugs.gnu.org; Sat, 14 May 2016 05:17:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1Vgz-0004rh-HW for 22795@debbugs.gnu.org; Sat, 14 May 2016 05:17:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1Vgp-0001EN-IG for 22795@debbugs.gnu.org; Sat, 14 May 2016 05:16:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Vgp-0001EE-Ex; Sat, 14 May 2016 05:16:51 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b1Vgm-0000OV-Tr; Sat, 14 May 2016 05:16:49 -0400 In-reply-to: <83oaay6u4o.fsf@gnu.org> (message from Eli Zaretskii on Tue, 01 Mar 2016 18:27:35 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:118235 Archived-At: > Date: Tue, 01 Mar 2016 18:27:35 +0200 > From: Eli Zaretskii > Cc: 22795@debbugs.gnu.org > > > Date: Mon, 29 Feb 2016 13:34:36 -0800 > > CC: <22795@debbugs.gnu.org> > > From: "Ota, Takaaki" > > > > I just tried again with "run -Q" from gdb and the result is the same. > > 24.5 never called sys_rename() and 25.0.91 called sys_rename() with > > two same names. > > What about Frename_file? does 24.5 call it in this scenario? > > If it doesn't, then please look at the beginning of backup-buffer (in > files.el), make sure it is called in 24.5 in this scenario, and then > please tell what are the values of real-file-name and backup-info in > this part at the beginning of backup-buffer: > > (let* ((real-file-name (file-chase-links buffer-file-name)) > (backup-info (find-backup-file-name real-file-name))) > > Also, what are the values of make-backup-files, backup-inhibited, and > buffer-backed-up in the buffer that visits the read-only file? > > Btw, is that file under some kind of version control, per chance? > > And please make sure, from now on, to test everything in "emacs -Q", > to prevent any customizations from getting in the way of this > investigation. Ping! Can we please continue this investigation? If the problem is no longer reproducible with the latest pretest 25.0.9x, or if you can no longer afford looking into this, I will most probably close the bug. Thanks.