]> granicus.if.org Git - ngircd/commit
Fix signalpipe file descriptor leak on RESTART
authorFlorian Westphal <fw@strlen.de>
Tue, 14 Sep 2010 21:53:59 +0000 (23:53 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 14 Sep 2010 21:53:59 +0000 (23:53 +0200)
commitba720fcbaeaacee700d7d23936cf481e6fcb83b1
tree9c63d2baaca898d38381ef37781094bb06cc7c65
parentb3cfbc3d28de9098be7cffc22ea9c5b98c36443f
Fix signalpipe file descriptor leak on RESTART

Signals_Init() must only be called once.
This does not affect any ngircd release version.

Earlier version of this patch moved the io and sighandler
initialization before the while() loop, but as Alexander
Barton noticed that broke all systems without builtin select
support in io.c...
src/ngircd/sighandlers.c