• Stam He's avatar
    Set proctitle: avoid the use of __attribute__((constructor)). · 9c8be6ca
    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.
    9c8be6ca
config.h 6.08 KB