From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.bugs Subject: bug#42095: 28.0.50; Build fails on Windows/MinGW64 Date: Mon, 29 Jun 2020 00:20:24 +0200 Message-ID: <1600123.Sx1r6Z4Kui@omega> References: <878sg819n2.fsf@klingenberg.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53369"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: KMail/5.1.3 (Linux/4.4.0-179-generic; KDE/5.18.0; x86_64; ; ) To: Paul Eggert , Eli Zaretskii , peder@klingenberg.no, 42095@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 29 00:21:15 2020 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 1jpffn-000Diz-Ef for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jun 2020 00:21:15 +0200 Original-Received: from localhost ([::1]:43606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpffm-0007vQ-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Jun 2020 18:21:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpffa-0007vI-27 for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 18:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpffZ-0003gr-P8 for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 18:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jpffZ-0004Bg-Kh for bug-gnu-emacs@gnu.org; Sun, 28 Jun 2020 18:21:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878sg819n2.fsf@klingenberg.no> Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jun 2020 22:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42095 X-GNU-PR-Package: emacs Original-Received: via spool by 42095-submit@debbugs.gnu.org id=B42095.159338283116048 (code B ref 42095); Sun, 28 Jun 2020 22:21:01 +0000 Original-Received: (at 42095) by debbugs.gnu.org; 28 Jun 2020 22:20:31 +0000 Original-Received: from localhost ([127.0.0.1]:47138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpff4-0004Am-Oz for submit@debbugs.gnu.org; Sun, 28 Jun 2020 18:20:30 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.21]:23488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpff2-0004Ac-0P for 42095@debbugs.gnu.org; Sun, 28 Jun 2020 18:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1593382826; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=+jV3mEWp+aYThI/scNEsyl8TKDOdYVyHmz5zBFP3/xw=; b=XcHwfzp5jW+7ajB5j3HJPH7kK3so9sZ6A49T22XFo7DxDrpaBawz8SCqH6d9+c3aU6 fjaflvBw68KE93uk0o60j9RbxBmz7QzNeOiZTxRtAlt/dxuBsbiI/qfmx3AXeai52ODf oTNVJI6dMX4tcpaIIuf85utFlEVu2UnS4MrJErjQMZy7Zuc910qk4Pt9zdl/30YFKfw9 AIIsdEP7xC1EX37ovdpwrphTXaVyG/JI59VolCzXOE3orOwPvahApT0u+5aJ9O7Xx/ZL pXLJlgQSC2lHNkP5od54UfChVYphvelGIsAoglnep8Y+05ZuiT/UBOdqvsf3caw7UK1g 6M5A== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Original-Received: from bruno.haible.de by smtp.strato.de (RZmta 46.10.5 DYNA|AUTH) with ESMTPSA id R03d1aw5SMKOPLV (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 29 Jun 2020 00:20:24 +0200 (CEST) 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:182492 Archived-At: > > do we have any tests in our test suite to test the getrandom > > function? > > No. Contributions would be welcome, I assume. Testing randomness is nontrivial, > though. Maybe Emacs has no unit test for getrandom(), but gnulib has: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=tests/test-getrandom.c;h=0e9fbb0c26b9f54087be4cf7371b0488dba59f4e;hb=HEAD It does not really check randomness. It only verifies that different calls produce different results. If someone wants to provide such tests, I recall that Knuth's TAOCP II contains the mathematical foundations of such analysis. Bruno