You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2016/05/09 11:44:31 UTC

[Bug 7295] kill -HUP (still) changes ps name

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7295

Patrick Welche <pr...@cam.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prlw1@cam.ac.uk

--- Comment #1 from Patrick Welche <pr...@cam.ac.uk> ---
Maybe I should phrase this more strongly:

Currently, you
1) read the script to find the perl path from the #! line
2) read the environment variable $^X aka EXECUTABLE_NAME
3) hope that 1) == 2)
   if it is, all is well and execute
4) execute using the environment variable

The logic suggests that the #! line is the one to trust, not the
environment variable, and you already do the hard work to read that
line. The attached patch implements what appears to be the logic you
intend.

-- 
You are receiving this mail because:
You are the assignee for the bug.