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

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

bug#20330: Do not capture build-time $PATH in 'emacs' binary


From: Eli Zaretskii
Subject: bug#20330: Do not capture build-time $PATH in 'emacs' binary
Date: Wed, 15 Apr 2015 19:12:59 +0300

> From: ludo@gnu.org (Ludovic Courtès)
> Cc: 20330@debbugs.gnu.org
> Date: Wed, 15 Apr 2015 09:45:38 +0200
> 
> >> >> The attached patch makes sure that the ‘emacs’ executable does not
> >> >> capture the value of the build-time $PATH (which notably includes the
> >> >> build directory, which may or may not exist afterwards.)
> >> >
> >> > Why only exec-path?
> >> 
> >> AFAICS this is the only thing that captures the build-time $PATH in the
> >> installed binary.
> >
> > What makes PATH special?  Don't you want to prevent any build-time
> > directories (except source-directory) from leaking into the binary?
> 
> I do, but I haven’t noticed any other leaks.  Do you think there are
> others?

load-path comes to mind, it can include PATH_DUMPLOADSEARCH, AFAIR.





reply via email to

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