From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic306-20.consmr.mail.ir2.yahoo.com (sonic306-20.consmr.mail.ir2.yahoo.com [77.238.176.206]) by sourceware.org (Postfix) with ESMTPS id B1CFE385AC19 for ; Tue, 26 May 2020 17:42:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B1CFE385AC19 X-YMail-OSG: xC.TX7UVM1kenEz0U9npt_s6Ek_KtW8fc0MXcWHIw_CJxRBzslXhYQxUln4UuFL BGa2XRD0.rv.NHh_dwOF6Bbcy1BTCocQzo3VeqOENHT8ugJYhRJdquIRcQ.npzTyblxfa0VJGYVq uhhwBqT1VG9W1dOYYXLJMNzEASSjG_nwGgu_qTeIKAZLkq0niqptfwi2LCziBCjLR_xqbbBBmrGh q1ogzfXE.z5sXxbFfQARUPhp6LlYc3YkLUiamwCORiNLBTcbm90siqGJS4hi5.Dx8Z7n0pm4wamr jfyha6ig.opul_0ULJ7vDsmbZR5LzZw6MMBclFO5r8EYOzQLPNsHWPf37RXYFYDBcKiGJv22OLZa VdKVYXl.2joODOGLhVq0CF0p9qN17rJ2FSV_080H.fUE5z7blHVOtQgUdzpG5liJy27VKM6EREPX _HUG6yOPHyiwwIGo2TmsXgQkqTfMfNNpL45eVmXwqos3MOuiHLXfuYkKWPGNulPtikYbete7_omt EuCS73DhJzp1U9DKVo0FTkU6MCevhhL2mQ5Oh4bhFNlROy3Ti5iBIYB458Ppnh8FPaZU9qZkKo50 vObmx22j0LpP19A1Y04WeDBKFklt1aXzSXzr9AlHqsM1jOIRpKQtg26XOjdz0MZCKzMKpc11HCDy wGIpQH67Dkymjv14nTLj9YfACfZtymk2ZnO2h5zC318Vx221pEiqW0LaZ5ZJt_tL3H4zb3.UDROd DRS3vby1cY0AdA0egeRCaYLccnStQks1wD1xXTe9WdsSbjZn3509qRLxewkt4fuywckE7qC3iODA XtQ_e3DwPT2ZipBqEGLCFqD7mOKk6X13ZH1sdYaz5NPBe2XgGpOX7z_zuZHRWmG6MeVR7DLeXiTC vV4HJCQUDizAKKNi_dz_ZuNF97wArUU46vGrgrRB8Gt7Z2Dbv1utezdcdgH4ozXDBMiOnRTEtKWL PsUV7m45EqoH8JslO4q6bDSm.xoRITVqB41bPsEwA1qVquvOgnYjW8Q4aHJEPQZnrMU10wjLC2PE 0bzR0..mYGkVaOuHz1WcF7fYPV73GK1hjIGQT3n.bW5jGKjrgUXOqGMO2AxoPt9vcJirs9gFXrfd xUCKXT_ksUY7iMEjCwcECTG.2B2qIbZklzr0VWgSarHtWS6glki2.UXXUFY3lVkF7wIZFc.3rOgW n6KhXRU3cqKHO4VJ4Dvea.hg37XDGNOAe9S1nxkl0Np7jdHlXXOwwoIpcXZn1AGQYlI0YFDCWu46 UOf0S1CDSIxCR6wP_c6MfTKpolRPUIddYbguZ_Dp5OmV9LKx3x1FUw3Dc3QSDgQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Tue, 26 May 2020 17:42:37 +0000 Date: Tue, 26 May 2020 17:42:37 +0000 (UTC) From: Hannes Domani To: Gdb-patches Message-ID: <2046464962.6655303.1590514957188@mail.yahoo.com> In-Reply-To: References: <20200525185659.59346-1-ssbssa@yahoo.de> <20200525185659.59346-6-ssbssa@yahoo.de> Subject: Re: [PATCH 5/7] Close file handle of empty history file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.15960 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 17:42:40 -0000 > Am Dienstag, 26. Mai 2020, 18:38:07 MESZ hat Christian Biesinger Folgendes geschrieben: > > On Mon, May 25, 2020 at 1:58 PM Hannes Domani via Gdb-patches > wrote: > > > > Happened while trying to reproduce a gdb.base/gdbinit-history.exp failure: > > warning: Could not rename C:/gdb/build64/gdb-git/gdb/testsuite/outputs/gdb.base/gdbinit-history/gdbinit-history.gdb_history to C:/gdb/build64/gdb-git/gdb/testsuite/outputs/gdb.base/gdbinit-history/gdbinit-history.gdb_history-gdb5228~: Permission denied > > > > I had an empty gdbinit-history.gdb_history-gdb5228~ file, and the file > > handle was not closed on startup, so it couldn't rename it at the end > > when trying to write a new one. > > Readline has an upstream repository, please send the patch to them as > well at bug-readline@gnu.org. > https://tiswww.case.edu/php/chet/readline/rltop.html > > Also add the change to readline/README per the instructions in there. > Not sure if ChangeLog needs/should be updated. Apparently, this was already fixed in readline master: http://git.savannah.gnu.org/cgit/readline.git/commit/?id=f585708e822e021e15e5bece1de482b63ba581df In that case I don't mind just leaving it as is, since it will be fixed eventually anyways with the next update. Hannes