[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: |
Tue, 14 Apr 2015 19:38:34 +0300 |
> From: ludo@gnu.org (Ludovic Courtès)
> Cc: 20330@debbugs.gnu.org
> Date: Tue, 14 Apr 2015 18:10:27 +0200
>
> Eli Zaretskii <eliz@gnu.org> skribis:
>
> >> From: ludo@gnu.org (Ludovic Courtès)
> >> Date: Tue, 14 Apr 2015 13:51:35 +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?
bug#20330: Do not capture build-time $PATH in 'emacs' binary, Glenn Morris, 2015/04/15