• Stam He's avatar
    Set proctitle: avoid the use of __attribute__((constructor)). · 6f96ac1c
    Stam He authored
    This cased a segfault in some Linux system and was GCC-specific.
    
    Commit modified by @antirez:
    
    1) Stripped away the part to set the proc title via config for now.
    2) Handle initialization of setproctitle only when the replacement
       is used.
    3) Don't require GCC now that the attribute constructor is no
       longer used.
    6f96ac1c
config.h 6.08 KB