On Sep 6, 2006, at 9:10, Matt Sergeant wrote:
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.
Hmn -- is that common? We didn't get any bug reports about it
before. :-/
Do you know if it'd be trapped by eval {}?
- ask
--
http://www.askbjoernhansen.com/