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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 17 Apr 2021 17:00:42 +0300

> From: [email-masked]
> 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.