diff options
author | Sven Eden <sven.eden@prydeworx.com> | 2018-11-12 08:57:49 +0100 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-11-12 08:57:49 +0100 |
commit | d4a3f291e3955648ea1d29e674b0f8f9b1556257 (patch) | |
tree | 4b5b9004acc480b350507c5f2072bd8a891ef586 /man/sd_event_source_set_priority.xml | |
parent | 693b0f31439318d68c5a42e79f7e8a751b4cffb3 (diff) |
Prep v239.2: Handle program_invocation_short_name more properly (#92)
With glibc, at least v2.28, program_invocation_short_name is not a
string of its own, but simply points into program_invocation_name.
When elogind is forked, the fork process gets a new name. Upstream
has decided to change to long version, which is the correct thing
to do. Unfortunately program_invocation_short_name is not adapted,
and all further log messages using it might print anything.
This patch manipulates program_invocation_short_name if its adress
lies within program_invocation_name and its original length.
Bug: #92
Closes: #92
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'man/sd_event_source_set_priority.xml')
0 files changed, 0 insertions, 0 deletions