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

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

bug#47800: [native-comp] could not resolve realpath of "emacs"


From: wilde
Subject: bug#47800: [native-comp] could not resolve realpath of "emacs"
Date: Sat, 17 Apr 2021 21:12:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (berkeley-unix)

Eli Zaretskii <eliz@gnu.org> wrote:
>> From: wilde@sha-bang.de
>> Date: Fri, 16 Apr 2021 11:53:58 +0200
>> 
>> FWIW: when /proc/self/exe exists it is a symlink to the currently
>> running executable, that should make the implementation of
>> find_executable() in these cases straight forward.
>> 
>> Basically:
>>   realpath ("/proc/self/exe", NULL);
>> should do the job.
>
> This was discussed, but AFAIR people felt uneasy with using it.

I wonder why -- but thats not too important as long as we have a
reliable solution anyway.  :)





reply via email to

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