From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs,gmane.comp.lib.gnulib.bugs Subject: bug#57129: 29.0.50; Improve behavior of conditionals in Eshell Date: Tue, 16 Aug 2022 13:53:16 -0700 Organization: UCLA Computer Science Department Message-ID: <2271941c-3ac3-1525-4d9f-62c757641d6c@cs.ucla.edu> References: <1871347.6tgchFWduM@nimes> <838rnofgad.fsf@gnu.org> <2135151.C4sosBPzcN@nimes> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15856"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cc: jporterbugs@gmail.com, larsi@gnus.org, bug-gnulib@gnu.org, 57129@debbugs.gnu.org To: Bruno Haible , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 23:18:38 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oO3xM-0003xp-DU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 23:18:36 +0200 Original-Received: from localhost ([::1]:59792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO3xL-0007FY-8v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 17:18:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO3Za-00045S-3e for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO3ZZ-0008TT-MA for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO3ZZ-0001Ag-Ig for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 16:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57129 X-GNU-PR-Package: emacs Original-Received: via spool by 57129-submit@debbugs.gnu.org id=B57129.16606832104460 (code B ref 57129); Tue, 16 Aug 2022 20:54:01 +0000 Original-Received: (at 57129) by debbugs.gnu.org; 16 Aug 2022 20:53:30 +0000 Original-Received: from localhost ([127.0.0.1]:48495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO3Z3-00019s-Qm for submit@debbugs.gnu.org; Tue, 16 Aug 2022 16:53:30 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO3Yx-00019a-QI for 57129@debbugs.gnu.org; Tue, 16 Aug 2022 16:53:28 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3EE711600AF; Tue, 16 Aug 2022 13:53:17 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0T45bcV_MrDv; Tue, 16 Aug 2022 13:53:16 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8B4441600B3; Tue, 16 Aug 2022 13:53:16 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OzkSKMa41q_5; Tue, 16 Aug 2022 13:53:16 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5352E1600AF; Tue, 16 Aug 2022 13:53:16 -0700 (PDT) Content-Language: en-US In-Reply-To: <2135151.C4sosBPzcN@nimes> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240007 gmane.comp.lib.gnulib.bugs:46154 Archived-At: On 8/16/22 12:59, Bruno Haible wrote: > Since this contradicts what you debugged on mingw, I ran the test 10000 > times on native Windows. Result: > - on 32-bit mingw, no failure. > - on 64-bit mingw, around 30 failures (or around 10 failures with Paul's > newest patch). That is, a probability of ca. 0.3% of getting the same > file name as on the previous call. That's odd, for two reasons. First, 64-bit and 32-bit mingw shouldn't differ, as they both use uint_fast64_t which should be the same width on both platforms. Second, I could not reproduce the problem on 64-bit Ubuntu x86-64 (after altering tempname.c to always define HAS_CLOCK_ENTROPY to false) test-tempname always succeeded in 10000 tries. Could you investigate further why mingw 64-bit fails?