]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: move vfork/fork handling directly in lldpd.c
authorVincent Bernat <vincent@bernat.im>
Sun, 31 Dec 2017 11:57:52 +0000 (12:57 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 31 Dec 2017 11:57:52 +0000 (12:57 +0100)
commitf36b76c1aff77f6cc195afcb5c2398cdc512bd03
tree12a7890e90e232d202d01e5d1a60a0380534f6bc
parent438d3fa6e55e67647f676a6b8837a6034c916d03
daemon: move vfork/fork handling directly in lldpd.c

This is not needed elsewhere. This way, we ensure redefinition of
vfork() to fork() through a define is working as expected, even when
some system headers may try to rename vfork too.

Fix #264
src/daemon/lldpd.c
src/daemon/lldpd.h