Skip to content
  • dangowrt's avatar
    explicitely ignore return value of symlink(3) call · d5fddd91
    dangowrt authored
    
    
    glibc sets __attribute_warn_unused_result__ on symlink(3) if
    FORTIFY_SOURCE is set. This breaks procd which deliberately ignores
    the result of the symlink(3) call early during init as there wouldn't
    be anything better to do in that case other than ignoring the error and
    trying to survive.
    
    Introduce libc-compat.h to work-around libc anomalities.
    
    Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
    d5fddd91