On 6-Sep-06, at 7:53 AM, Mike Williams wrote:
On Wednesday 06 September 2006 11:27, Ask Bjørn Hansen wrote:
config_dir attempts to get the config from $name/config, $name
being based on
$0, but $0 (the process name) is changed in qpsmtpd-prefork for
prettyness.
It should just store the name somewhere else before messing with $0.
The pretty names are useful for debugging with "ps axw" when you see
a hundred qpsmtpd processes running.
No arguement there, pretty is pretty :)
Attached patch does save $0 before changing it, and doesn't affect
forkserver
operation.
Please note that $0 is read-only on some perls, and thus will cause a
run-time exception.
Matt.