From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#34180: 27.0.50; argv[0] used incorrectly to find the .pdmp Date: Mon, 11 Oct 2021 17:16:55 -0400 Message-ID: References: <5d5d6da7-d0d4-82ae-8034-78d47a6b12c8@dancol.org> <83va2a3z0d.fsf@gnu.org> <87wnmjhd6j.fsf@gnus.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2772"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 34180@debbugs.gnu.org, Paul Eggert , monnier@IRO.UMontreal.CA To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 11 23:18:29 2021 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 1ma2gm-0000Tk-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 23:18:28 +0200 Original-Received: from localhost ([::1]:41784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ma2gl-0007vv-0Q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Oct 2021 17:18:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ma2gN-0007ho-Ai for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 17:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ma2gM-0005pB-Qu for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 17:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ma2gM-00072l-NF for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2021 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2021 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34180 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 34180-submit@debbugs.gnu.org id=B34180.163398702526982 (code B ref 34180); Mon, 11 Oct 2021 21:18:02 +0000 Original-Received: (at 34180) by debbugs.gnu.org; 11 Oct 2021 21:17:05 +0000 Original-Received: from localhost ([127.0.0.1]:32836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ma2fR-000718-8X for submit@debbugs.gnu.org; Mon, 11 Oct 2021 17:17:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ma2fP-00070Z-At for 34180@debbugs.gnu.org; Mon, 11 Oct 2021 17:17:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39774) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ma2fI-00058G-2E; Mon, 11 Oct 2021 17:16:57 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ma2fH-0006HL-Tr; Mon, 11 Oct 2021 17:16:55 -0400 In-Reply-To: <87wnmjhd6j.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 11 Oct 2021 16:02:44 +0200) 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:216968 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] For Emacs, finding the executable requires explicitly following symlinks one by one and testing other related file names. If you are thinking of using a gnulib function for this, we need to check very carefully to make sure it does the right thing in each and every case. I think we made this work correctly, some months after pdumping was added. Did it break since them? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)