Skip to content
Snippets Groups Projects
Commit 361c3512 authored by Nick Zavaritsky's avatar Nick Zavaritsky Committed by Konstantin Osipov
Browse files

gh-475: Fix issues in third_party/proctitle.c

 * add proctitle.h;
 * add config-time detection of setproctitle() syscall;
 * fixing program_invocation_(short)?_name globals (glibc);
 * fixing progname (getprogname(), initialized with argv[0]);
 * this module now works on osx;
 * fix osx ps displaying garbage (argc-1 extra \0 necessary);
 * general refactoring;
 * fix linux proctitle truncation (init_set_proctitle was called with
   argv+1, this is wrong);

 * CAVEAT: 'progname: ' prefix no longer present, will fix later
parent 09dac453
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment