From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Tue, 21 Dec 2021 19:32:13 +0200 Message-ID: <83bl19zwwy.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <87ilvp3tzo.fsf@gnus.org> <83wnk5gduf.fsf@gnu.org> <87r1ab1y0r.fsf@gnus.org> <83sfurejs6.fsf@gnu.org> <871r2b1vu8.fsf@gnus.org> <83o85feitv.fsf@gnu.org> <87lf0jzifm.fsf@gnus.org> <83a6gze705.fsf@gnu.org> <87k0g2xsu9.fsf@gnus.org> <871r2axqp4.fsf@gnus.org> <83sfuqb5yo.fsf@gnu.org> <87fsqoyiao.fsf@gnus.org> <83v8zk96yh.fsf@gnu.org> <87zgowvmt5.fsf@gnus.org> <838rwg8z8i.fsf@gnu.org> <871r28vg4y.fsf@gnus.org> <834k748wez.fsf@gnu.org> <831r288vne.fsf@gnu.org> <83zgow7fpi.fsf@gnu.org> <83y24g7dui.fsf@gnu.org> <8735mnr5cb.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36149"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 21 18:41:54 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzj98-00098Z-E7 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 18:41:54 +0100 Original-Received: from localhost ([::1]:57868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzj97-00051l-9a for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 12:41:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzizl-0007i2-J3 for emacs-devel@gnu.org; Tue, 21 Dec 2021 12:32:13 -0500 Original-Received: from [2001:470:142:3::e] (port=58956 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzizl-0004rz-5k; Tue, 21 Dec 2021 12:32:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TtUKhbDzk7u2R7clftj5PYABK4RTXJgcV1GLDkIWTtM=; b=iUtatfFKprir +9axG947co58SZdfeq7eYE7WdE6wUrb5L0oAM5ovF5mwWowuzywJjRAD2sj+6pIX/ANF+KEppMlJH ngVLcAlG4q32Dbb73ozkaUHEYb5dbByOLEfYBcP0mQWToVoZuijJOjcMnKxdqqLKwzHEFxh6fPrXU lHy2kBPsOugIhLJkw5GTHCGwUxyYI/kmlvcnEnlPmKbhfBUQ+DH55C0J1Aw5RIRfr+0iMLtATa5zu +sKtD5r0pENr1PNYInrghPjb5JqeSDBJRWRLMLKeiYLNnr2DB0zbFWYorDwJlS4uUrGKbDw0EYu8F VENpiZ7LG3IyiupZGLv24g==; Original-Received: from [87.69.77.57] (port=1698 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzizl-0003iB-3U; Tue, 21 Dec 2021 12:32:13 -0500 In-Reply-To: <8735mnr5cb.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 20 Dec 2021 10:30:28 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282608 Archived-At: > From: Lars Ingebrigtsen > Date: Mon, 20 Dec 2021 10:30:28 +0100 > Cc: emacs-devel@gnu.org > > Eli Zaretskii writes: > > > All done, looks like we are ready to use this new error symbol. > > Thanks; I've adjusted the code... but Savannah seems to be down, so I > can't push or pull? *sigh* The multi-test-files-busy test is sometimes failing: insert-file-contents("c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/emacs-test- [...] Test multi-test-files-busy condition: (file-missing "Opening input file" "No such file or directory" "c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/emacs-test-0HFBx5-multisession/files/multisession/multisession--sbar.value") This is because rename-file is not an atomic operation on MS-Windows: when the target file already exists, we delete it and then rename the new file. So there's a small window between the delete and the rename that the file doesn't exist under its expected name, and the test fails. Does multisession.el know that a value file was already created and was available at some point in the past? If so, could it perhaps test the file for existence before re-reading it, and if it doesn't exist, retry a few times, sleeping for 10 msec between retries? (Only on MS-Windows, of course.) That might solve the problem.