]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Prefer signal to poll so we avoid any possibilty of a timeval -> int/msecs overflow...
authorRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 09:30:42 +0000 (09:30 +0000)
committerRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 09:30:42 +0000 (09:30 +0000)
commitf4e3746739ca67ed02ca13f33a9e2181a4243253
tree55b859a0df8b68140cb18d7ded9ef2cb56bf65ed
parent121c3dce00910839ba94e6cf1448bdfc1f68a5ee
Prefer signal to poll so we avoid any possibilty of a timeval -> int/msecs overflow. We could of course loop msecs / INT_MAX times, but it then gets messy. It also saves around 200 bytes of binary size :)
client.c
net.c
signals.c
signals.h