Re: [OpenWrt-Devel] [PATCH] explicitely ignore return value of symlink(3) call

2015-10-28 Thread Felix Fietkau
On 2015-10-22 23:15, Daniel Golle wrote: > 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

[OpenWrt-Devel] [PATCH] explicitely ignore return value of symlink(3) call

2015-10-22 Thread Daniel Golle
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.