bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52488: Try basename of agrv0's realpath for .pdmp lookup in libexecd


From: Ken Brown
Subject: bug#52488: Try basename of agrv0's realpath for .pdmp lookup in libexecdir
Date: Wed, 15 Dec 2021 17:08:15 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

On 12/15/2021 1:53 PM, Ken Brown wrote:
On 12/15/2021 1:19 PM, Glenn Morris wrote:
Ken Brown wrote:

I think the problem is that load_pdmp doesn't look in libexecdir for a
.pdmp file whose name matches the name of the emacs executable. For
example, suppose I have a symlink /usr/bin/emacs that resolves to
/usr/bin/emacs-nox.exe. Then load_pdmp looks for
/usr/bin/emacs-nox.pdmp, but it doesn't look for
/usr/libexec/emacs/28.0.90/x86_64-pc-cygwin/emacs-nox.pdmp.

Note that in Emacs 29 it uses the fingerprint in the pdmp name,
so that issue should not occur.

(cf https://debbugs.gnu.org/43050)

Thanks!  I missed that.

FWIW, the commit in which you did this (e81f1faca4) applies to the emacs-28 branch and allows me to build emacs-28 for the Cygwin distro the way I want, with all .pdmp files under /usr/libexec. There's no need to rename any .pdmp files or to use symlinks for them.

Thanks again.

Ken





reply via email to

[Prev in Thread] Current Thread [Next in Thread]