]> git.ipfire.org Git - people/ms/dnsmasq.git/commit
Fix boilerplate code for re-running system calls on EINTR and EAGAIN etc.
authorSimon Kelley <simon@thekelleys.org.uk>
Wed, 11 Mar 2015 21:36:30 +0000 (21:36 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Wed, 11 Mar 2015 21:36:30 +0000 (21:36 +0000)
commitff841ebf5a5d6864ff48571f607c32ce80dbb75a
tree027985142b90373268a5aca31c0a74874a1c92cd
parent360f2513ab12a9bf1e262d388dd2ea8a566590a3
Fix boilerplate code for re-running system calls on EINTR and EAGAIN etc.

The nasty code with static variable in retry_send() which
avoids looping forever needs to be called on success of the syscall,
to reset the static variable.
src/bpf.c
src/dhcp.c
src/dhcp6.c
src/dnsmasq.c
src/dnsmasq.h
src/forward.c
src/ipset.c
src/loop.c
src/netlink.c
src/radv.c
src/util.c