From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Shrinking the C core Date: Fri, 18 Aug 2023 10:35:30 +0200 Message-ID: References: <20230809094655.793FC18A4654@snark.thyrsus.com> <87il9owg0f.fsf@yahoo.com> <87fs4pkkqi.fsf@dataswamp.org> <87jztzkgct.fsf@dataswamp.org> <87y1if8j8t.fsf@linux-m68k.org> <87y1ifi9fv.fsf@dataswamp.org> <87zg2uqdmv.fsf@localhost> <87edk3gbh3.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2216"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 18 10:36:39 2023 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 1qWuyF-0000MS-2S for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Aug 2023 10:36:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWuxT-0006Aj-Tx; Fri, 18 Aug 2023 04:35:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWuxR-000600-6t for emacs-devel@gnu.org; Fri, 18 Aug 2023 04:35:49 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWuxN-0005oD-B6 for emacs-devel@gnu.org; Fri, 18 Aug 2023 04:35:47 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99bf3f59905so77936366b.3 for ; Fri, 18 Aug 2023 01:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692347742; x=1692952542; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Yzi7ZPcTnR1rZtHkhQbn6+WVet/sNgfjn61/LfqtkFE=; b=JHddgt7unJWLxYn9epCabpZ+/vjGTElDEPGlGGcZsYn9y4HVEBKzz+IDRaG/+SQwc5 v7Os8qzMF9ivXSqu+is8A9rEUe4Dt4WqTWAKHJgYbvPY7DCvPejUkyyarUtO9zQ9BfYJ tn++LexxCMBzezqFBKM5StoPXXGUmHZqK74GC4uMVOKUy+d7cUMp+sVOMaGJhAU/+wp4 BhLIvaUFbbt6ddFCkGAGkSw37Ft6GGAaya5X/effV0wd1y2WpfeXN2FCD0/3v2UkSmEo fo3Pnkqu4RdUQS9HKOhzyToE8dZWUeNVCXPZno31IlPLclnWtHI661a7RgFYIY3QP35K WjWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692347742; x=1692952542; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yzi7ZPcTnR1rZtHkhQbn6+WVet/sNgfjn61/LfqtkFE=; b=KC3bMRufK/gEEgwY6b2PORan6//Fcg8g+noJ3zNXO1uPtJ4G4qUmPmZQmUoB+sffSh 2kTVmjcbqCOsiJhStJ6Q+S+EZBeHXEi9OeoanI1hkNlg5fN60M03atB14ourM/07sWm/ TLEu4yHQfYI3xAapolsLAQmf0+hK4cUkasAa+dBLnmbj3e2+bbYPz1kjfCTOKSy/MjJf k/90jNGpUdOUsqpGXsJbgEy7xrNVvjjcPq3fqQSfDf17iTxoec4FqFkzfk35ijOB0tUZ EpHNA2W37bIxaCJRDd4dJlryAJSZU5FdqhouXuhgq8TcjF8grtWxebLNcWFnYiJEYxcC uGEg== X-Gm-Message-State: AOJu0YwHXuxZ6nI3n8wVHopUM2gQkhZm62gmhys/lx++WN3g8JdnwCfk 32aPAV6qh6qo+R5J/ri0/bvbCt6DNPk3s35/Mkz+0fgGsx8= X-Google-Smtp-Source: AGHT+IExc2iUTp/SKgKxZKW7gPfNTe/9B/29SqvL1pKTvSoEmAijUWvcU1vfwblK8+mN65axh9wcSE7L/o6huOK8iqA= X-Received: by 2002:a17:906:535d:b0:9a1:647c:15e3 with SMTP id j29-20020a170906535d00b009a1647c15e3mr350807ejo.12.1692347742424; Fri, 18 Aug 2023 01:35:42 -0700 (PDT) In-Reply-To: <87edk3gbh3.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=aurelien.aptel@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308888 Archived-At: On Wed, Aug 16, 2023 at 4:22=E2=80=AFAM Emanuel Berg = wrote: > Actually, even I have a better random than Elisp: > > https://dataswamp.org/~incal/emacs-init/random-urandom/ Your pw_random_number() function is leaking the file descriptor. You need to close fd each call.