bsc_fd: Add a build option to be able to debug fd list corruption
authorHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 5 Aug 2010 22:48:43 +0000 (06:48 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 5 Aug 2010 22:50:23 +0000 (06:50 +0800)
commit43558316bc4e6ddac92dd198b07a4803c21dc77b
treeabc157bc9668a4859e1b9f0c64caf507af16562b
parentc2b7f92a6c1ae3ad4f4865f3c2c69d4a3a5a279a
bsc_fd: Add a build option to be able to debug fd list corruption

bsc_register_fd on an already registered fd can corrupt the list
in a heavy way and make the select end in an infinite loop, this
code will workaround the issue and provide a way to set a breakpoint
at the right position in the code.
configure.in
src/select.c